1
0
mirror of git://f0xx.org/ac/ac-be-auth synced 2026-08-12 18:12:38 +03:00

Wire remember-me checkbox on login view.

Bump ac-ms-identity dep for AuthRemember support.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-08-12 14:08:02 +02:00
parent eff9b46800
commit 247d6054b4

View File

@@ -55,6 +55,7 @@ $loginRedirect = $loginRedirect ?? '';
<?php endif; ?>
<label><span data-i18n="login.username">Username</span><input name="username" autocomplete="username" required></label>
<label><span data-i18n="login.password">Password</span><input name="password" type="password" autocomplete="current-password" required></label>
<label class="build-form-checks"><input type="checkbox" name="remember_me" value="1"> <span data-i18n="login.remember_me">Remember me on this device</span></label>
<button type="submit" data-i18n="login.submit">Sign in</button>
<p class="hint"><a href="<?= h($auth) ?>/register" data-i18n="login.register">Create account</a></p>
</form>