Skip to content

Commit 231b8ce

Browse files
Merge pull request #1188 from ItzNotABug/1153-fix-redirect-on-password-recovery
Avoid redirect on Password Recovery
2 parents da15519 + b30626a commit 231b8ce

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/routes/+layout.svelte

+7-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,13 @@
7070
'/hackathon',
7171
'/mfa'
7272
];
73-
const acceptedAuthenticatedRoutes = ['/console', '/invite', '/card', '/hackathon'];
73+
const acceptedAuthenticatedRoutes = [
74+
'/console',
75+
'/invite',
76+
'/card',
77+
'/hackathon',
78+
'/recover'
79+
];
7480
7581
const pathname = $page.url.pathname;
7682
const user = $page.data.account as Models.User<Record<string, string>>;

0 commit comments

Comments
 (0)