mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
A user locked by failed sign-ins could only be unlocked with manage.py axes_reset_username on the server, and nothing in the panel showed the lock. The Users page and the user's page now mark a locked user, counted as django-axes counts (a username's failures from one address, over browsers, in any letter case), and the user's page has Unlock sign-in for a superuser; it ends the lock from every address and is on the Logs page. A sign-in lasted Django's default two weeks, also after the browser was closed. It now ends Session length (hours) after the sign-in, a setting on the Settings page, 24 by default; a change applies from the next sign-in. An idle timeout would not help: an open VM list refreshes itself every five seconds. Blocking a user signs them out. django-auth-ldap does not check is_active for an open session, so a blocked LDAP user kept theirs. The OTP sign-in page showed its error as a red list inside the red box; it is plain text as on the other sign-in page, and django-otp's errors are in Turkish and Chinese. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_account_page.py | ||
| test_admin_email_otp.py | ||
| test_admin_password.py | ||
| test_api_tokens.py | ||
| test_audit_rows.py | ||
| test_change_password_permission.py | ||
| test_checks.py | ||
| test_email_otp.py | ||
| test_first_login_password.py | ||
| test_ldap_timeouts.py | ||
| test_login_lockout.py | ||
| test_login_page.py | ||
| test_otp_login.py | ||
| test_ssh_keys.py | ||
| test_unique_email.py | ||
| test_utils.py | ||
| test_views.py | ||