Support completing first-run setup after session restoration
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
}
|
||||
|
||||
async function loadAuthenticatedData() {
|
||||
if (mustReplaceCredentials) return;
|
||||
await loadActivity();
|
||||
await loadNotifications();
|
||||
await loadDiagnostics();
|
||||
@@ -1643,6 +1644,7 @@
|
||||
<div class="panel-header"><span>FIRST-RUN SETUP</span></div>
|
||||
<div class="auth-gate-body credential-form">
|
||||
<strong>Replace the generated administrator credentials</strong>
|
||||
<label for="setup-current-password" class="micro">CURRENT PASSWORD</label><input id="setup-current-password" class="control" type="password" bind:value={password} autocomplete="current-password" />
|
||||
<label for="new-username" class="micro">NEW USERNAME</label><input id="new-username" class="control" bind:value={newUsername} autocomplete="username" />
|
||||
<label for="new-password" class="micro">NEW PASSWORD</label><input id="new-password" class="control" type="password" bind:value={newPassword} autocomplete="new-password" />
|
||||
<button class="primary" onclick={replaceCredentials} disabled={authBusy}>SAVE AND CONTINUE</button>
|
||||
|
||||
Reference in New Issue
Block a user