1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-01 16:36:06 +00:00
webvirtcloud/accounts/templates
catborise 135839bd66 feat(accounts): an administrator can reset a user's OTP
A user's OTP secret could not be changed: "Lost OTP?" and the admin's
"Email OTP QR code" both send the same secret again, so a stolen phone
kept making valid codes. The user's profile page now has "Reset OTP",
which deletes the user's TOTP device; they sign in with the password
alone until a new QR code is mailed, which has a new secret.

The mailed link now names the device, not the user: a link mailed before
a reset shows nothing, not the next device's secret. A new signing salt
refuses the links that named a user, whose id may be another user's device.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-10 08:10:48 +03:00
..
accounts fix(accounts): the mailed OTP link keeps its token out of the access logs 2026-11-09 12:00:55 +03:00
account.html feat(accounts): an administrator can reset a user's OTP 2026-11-10 08:10:48 +03:00
api_token_created.html feat(accounts): API tokens for scripts and tools 2026-10-24 23:14:27 +03:00
api_token_list.html feat(accounts): the administrator's view of a user as an identity strip and cards 2026-10-31 18:10:05 +03:00
login.html refactor(templates): the shared page scripts load from static files 2026-11-02 08:47:58 +03:00
profile.html feat(accounts): the administrator's view of a user as an identity strip and cards 2026-10-31 18:10:05 +03:00
ssh_key_list.html feat(accounts): the administrator's view of a user as an identity strip and cards 2026-10-31 18:10:05 +03:00