Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: change email route add guard

shuaiac62d12ec122
diff --git a/ui/src/router/routes.ts b/ui/src/router/routes.ts
index c745ba1d..a723284c 100644
--- a/ui/src/router/routes.ts
+++ b/ui/src/router/routes.ts
@@ -155,7 +155,7 @@ const routes: RouteNode[] = [
path: 'users/change-email',
page: 'pages/Users/ChangeEmail',
guard: async () => {
- return guard.notLogged();
+ return guard.notActivated();
},
},
{