fix: Database check failure (release cantidate)
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user