1
0
mirror of git://f0xx.org/ac/ac-be-auth synced 2026-07-29 08:38:47 +03:00
Commit Graph

4 Commits

Author SHA1 Message Date
Anton Afanasyeu
1736c57bf0 fix(2fa): one-tap QR approve page without mobile TOTP field
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-11 17:33:42 +02:00
Anton Afanasyeu
681ac8a837 fix(auth-ui): login register link, QR approve TOTP form
Remove default admin hint; show Create account; approve page accepts 6-digit code without prior mobile login.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-11 14:48:27 +02:00
Anton Afanasyeu
cd73a2b3bd ui: add favicon + apple-touch-icon to all auth view heads
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 22:55:51 +02:00
Anton Afanasyeu
d8d15d77ad feat(2fa): cross-device approval UI, polling JS, approve view
- two_factor_challenge.php: QR now shown above the code field with
  data-poll-token/url attrs; approval status banner; updated caption
- two_factor_approve.php: new mobile confirmation page (Approve/Cancel)
- two_factor.js: adds poll loop every 2.5s; auto-redirect on approval;
  expires QR visually; stops polling on manual TOTP submit

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 22:49:50 +02:00