mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-02 17:06:09 +00:00
A locked user got django-axes' plain-text 429 reply, untranslated and with no way back; it is now a page in the panel's layout that says within how many minutes the lock ends, and leads back to the sign-in page with the destination kept (AXES_LOCKOUT_CALLABLE). A failed sign-in emptied the username; it is kept, the password is marked invalid and has the cursor (a refused username keeps it). A line under the password says when Caps Lock is on. The fields carry autocomplete (username, current-password, one-time-code) for password managers and phones, and the show-password button is reachable with Tab again. The lines under the forms are gone: "KVM / Libvirt" with a green dot looked like a status it did not check, and "2FA Protection Active" was shown to users without 2FA. A new setting, Sign-in notice (Settings, Login), is shown above both sign-in forms when set, e.g. planned maintenance or a terms-of-use line. |
||
|---|---|---|
| .. | ||
| management | ||
| migrations | ||
| templates | ||
| tests | ||
| __init__.py | ||
| apps.py | ||
| context_processors.py | ||
| middleware.py | ||
| models.py | ||
| settings.py | ||
| views.py | ||