fix: check the OS policy with the current values when SSO starts

This commit is contained in:
Linus Rath
2026-11-03 12:28:16 +01:00
parent 2edd6b5ea7
commit 14960b11ca
+1 -1
View File
@@ -694,7 +694,7 @@ function LoginPageContent() {
} catch {
setOauthLoading(false);
}
}, [params.locale, selectedServer?.id, persistProviderSession, isMobileHandoff, mobileRedirectUri, mobileState, mobileChallenge]);
}, [params.locale, selectedServer?.id, selectedServer?.url, desktopPolicy, tDesktopPolicy, persistProviderSession, isMobileHandoff, mobileRedirectUri, mobileState, mobileChallenge]);
useEffect(() => {
// After signing out, show the login page rather than signing straight