fix: 扫码不再覆盖已有密码,登录按地址限速

This commit is contained in:
2026-11-16 09:25:01 +08:00
parent 337d842543
commit 89d9452967
8 changed files with 191 additions and 31 deletions
+3
View File
@@ -40,6 +40,9 @@ def fresh_database():
from admin.login_limit import reset
reset()
from euniv.login_limit import reset as reset_login
reset_login()
from euniv.proxy_pool import _holds
_holds.clear()
+1
View File
@@ -154,6 +154,7 @@ def test_login_stores_password_and_credential_only() -> None:
"study_ignore_window",
"study_schedule_enabled",
"sessions_valid_after",
"password_login_at",
}
home = client.get("/api/home")