fix: change email route add guard

This commit is contained in:
shuai 2022-11-09 16:27:23 +08:00
parent a5150d06a8
commit ac62d12ec1
1 changed files with 1 additions and 1 deletions
ui/src/router

View File

@ -155,7 +155,7 @@ const routes: RouteNode[] = [
path: 'users/change-email',
page: 'pages/Users/ChangeEmail',
guard: async () => {
return guard.notLogged();
return guard.notActivated();
},
},
{