fix(web): oauth login (#6813)

This commit is contained in:
Jason Rasmussen
2024-01-31 14:18:40 -05:00
committed by GitHub
parent d2c2db2595
commit 7a075d78a3
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
export let data: PageData;
afterNavigate(async ({ from }) => {
if (from?.url.pathname === AppRoute.AUTH_CHANGE_PASSWORD) {
if (from?.url?.pathname === AppRoute.AUTH_CHANGE_PASSWORD) {
resetSavedUser();
await api.authenticationApi.logout();
}