mirror of https://gitee.com/answerdev/answer.git
Merge branch 'ui-v0.3' into 'test'
fix: change email route add guard See merge request opensource/answer!208
This commit is contained in:
commit
a08e98b48a
|
@ -155,7 +155,7 @@ const routes: RouteNode[] = [
|
|||
path: 'users/change-email',
|
||||
page: 'pages/Users/ChangeEmail',
|
||||
guard: async () => {
|
||||
return guard.notLogged();
|
||||
return guard.notActivated();
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue