mirror of https://gitee.com/answerdev/answer.git
fix: change email route add guard
This commit is contained in:
parent
a5150d06a8
commit
ac62d12ec1
|
@ -155,7 +155,7 @@ const routes: RouteNode[] = [
|
||||||
path: 'users/change-email',
|
path: 'users/change-email',
|
||||||
page: 'pages/Users/ChangeEmail',
|
page: 'pages/Users/ChangeEmail',
|
||||||
guard: async () => {
|
guard: async () => {
|
||||||
return guard.notLogged();
|
return guard.notActivated();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue