fix: Fix electron login and mobile redirect

This commit is contained in:
LukeGus
2025-11-03 23:36:41 -06:00
parent 1e08a179bd
commit cfe9e3f959
6 changed files with 200 additions and 368 deletions

View File

@@ -270,6 +270,7 @@ export function Auth({
"*",
);
setWebviewAuthSuccess(true);
setTimeout(() => window.location.reload(), 100);
setLoading(false);
return;
} catch (e) {}
@@ -446,6 +447,7 @@ export function Auth({
"*",
);
setWebviewAuthSuccess(true);
setTimeout(() => window.location.reload(), 100);
setTotpLoading(false);
return;
} catch (e) {}
@@ -553,6 +555,7 @@ export function Auth({
"*",
);
setWebviewAuthSuccess(true);
setTimeout(() => window.location.reload(), 100);
setOidcLoading(false);
return;
} catch (e) {}