Take auth/ whole from boilerplate 09e144d: the lockout claimed before the scrypt, APP_PASSWORD recovery closing every session, Starlette's cookie parser, the rightmost forwarded hop in the log, revoke_all on a password change, a 421 for a non-loopback Host on an open app, API tokens in auth_tokens behind Authorization: Bearer, and sockets closed with their credential
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
83e965dfeb
commit
244e57ac29
19 files changed
+2288
-214
No files matched your search
@@ -55,7 +55,7 @@ def test_the_passkey_routes_answer_501_rather_than_crashing(
|
||||
"""501 is what the element watches for -- "this route exists and this build
|
||||
cannot perform it" -- and it takes the passkey section off the screen."""
|
||||
for path in ("/api/account/passkeys/options", "/login/passkey/options"):
|
||||
answer = signed_in.post(path)
|
||||
answer = signed_in.post(path, json={"current": PASSWORD})
|
||||
assert answer.status_code == 501, path
|
||||
assert "passkeys" in answer.json()["detail"]
|
||||
assert "uv sync" in answer.json()["detail"]
|
||||
|
||||
Reference in new issue
Block a user