Merge branch 'ui-v0.3' into 'test'

fix: change email route add guard

See merge request opensource/answer!208
This commit is contained in:
Li Shuailing 2022-11-09 09:20:34 +00:00
commit a08e98b48a
1 changed files with 1 additions and 1 deletions

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();
},
},
{