portal: explain rotation check failures
This commit is contained in:
parent
b017775bdb
commit
66392a1ad0
@ -946,10 +946,16 @@ async function confirmStep(step) {
|
||||
}
|
||||
if (step.action === "auto") {
|
||||
if (step.id === "firefly_password_rotated") {
|
||||
await runRotationCheck("firefly");
|
||||
const result = await runRotationCheck("firefly");
|
||||
if (result && result.rotated === false) {
|
||||
throw new Error("Firefly still uses the initial password. Change it in Firefly, then confirm again.");
|
||||
}
|
||||
}
|
||||
if (step.id === "wger_password_rotated") {
|
||||
await runRotationCheck("wger");
|
||||
const result = await runRotationCheck("wger");
|
||||
if (result && result.rotated === false) {
|
||||
throw new Error("Wger still uses the initial password. Change it in Wger, then confirm again.");
|
||||
}
|
||||
}
|
||||
await check();
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user