Merge develop: fix wizard password check
This commit is contained in:
+2
-2
@@ -8839,9 +8839,9 @@ function _getMissingSetupSteps(serverSettings) {
|
|||||||
missing.push(0);
|
missing.push(0);
|
||||||
}
|
}
|
||||||
// Step 1 — Gemini API key (check both localStorage and server .env)
|
// Step 1 — Gemini API key (check both localStorage and server .env)
|
||||||
if (!s.gemini_key && !srv.gemini_key) missing.push(1);
|
if (!s.gemini_key && !srv.gemini_key && !srv.gemini_key_set) missing.push(1);
|
||||||
// Step 2 — Bring! credentials (check both localStorage and server .env)
|
// Step 2 — Bring! credentials (check both localStorage and server .env)
|
||||||
if ((!s.bring_email && !srv.bring_email) || (!s.bring_password && !srv.bring_password)) missing.push(2);
|
if ((!s.bring_email && !srv.bring_email) || (!s.bring_password && !srv.bring_password_set)) missing.push(2);
|
||||||
// Note: step 3 (done screen) gets appended automatically when there are missing steps
|
// Note: step 3 (done screen) gets appended automatically when there are missing steps
|
||||||
|
|
||||||
return missing;
|
return missing;
|
||||||
|
|||||||
Reference in New Issue
Block a user