Add forgotten-password and email-validation routes to allowed without being logged
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d2ed4b1a39
commit
73c7403f12
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ export const load: Load = async ({ fetch, route, url }) => {
|
|||
locale.set(user.settings.language);
|
||||
}
|
||||
} catch (err) {
|
||||
if (route.id != "/login" && route.id != "/join" && route.id != "/resolver" && route.id != "/providers/features") {
|
||||
if (route.id != "/login" && route.id != "/forgotten-password" && route.id != "/join" && route.id != "/resolver" && route.id != "/providers/features" && !route.id.startsWith("/email-validation")) {
|
||||
toasts.addToast({
|
||||
type: 'error',
|
||||
title: get_store_value(t)("errors.session.title"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue