fix: Database check failure (release cantidate)

This commit is contained in:
LukeGus
2025-11-05 10:21:12 -06:00
parent 68be736dc7
commit 4075d6e2da

View File

@@ -173,6 +173,10 @@ export function Auth({
}, []); }, []);
useEffect(() => { useEffect(() => {
if (showServerConfig) {
return;
}
setDbHealthChecking(true); setDbHealthChecking(true);
getSetupRequired() getSetupRequired()
.then((res) => { .then((res) => {
@@ -195,7 +199,7 @@ export function Auth({
.finally(() => { .finally(() => {
setDbHealthChecking(false); setDbHealthChecking(false);
}); });
}, [setDbError, firstUserToastShown]); }, [setDbError, firstUserToastShown, showServerConfig]);
useEffect(() => { useEffect(() => {
if (!registrationAllowed && !internalLoggedIn) { if (!registrationAllowed && !internalLoggedIn) {