Merge pull request #1188 from ItzNotABug/1153-fix-redirect-on-password-recovery

Avoid redirect on Password Recovery
This commit is contained in:
Torsten Dittmann authored and GitHub committed 2024-07-12 13:15:49 +02:00
commit 231b8ceec4
1 file changed
+7 -1
+7 -1
View File
@@ -70,7 +70,13 @@
'/hackathon',
'/mfa'
];
const acceptedAuthenticatedRoutes = ['/console', '/invite', '/card', '/hackathon'];
const acceptedAuthenticatedRoutes = [
'/console',
'/invite',
'/card',
'/hackathon',
'/recover'
];
const pathname = $page.url.pathname;
const user = $page.data.account as Models.User<Record<string, string>>;