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:
WolfandClaude Fable 5.1 committed 2026-10-27 11:51:21 +01:00
1 parent 83e965dfeb
commit 244e57ac29
19 files changed
+2288 -214

No files matched your search

+8 -1
View File
@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>{name} &mdash; sign in</title>
<!-- The app's own stylesheet, if it passed one to `connect`. Optional on
purpose: this folder is copied into projects that have no stylesheet yet,
@@ -42,6 +42,13 @@ body.login {
* saying twice. Without it the passkey button is drawn on an app that has no
* passkeys, and pressing it 404s. */
[hidden] { display: none !important; }
/* A phone: the form clears the notch and the home indicator, and a finger
* gets a thumb's height of button and a field that does not make iOS zoom. */
body.login { padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
@media (pointer: coarse) {
.signin input[type=password] { font-size: 16px; padding: 0.6rem 0.7rem; }
.signin button { min-height: 2.75rem; }
}
</style>
</head>
<body class="login">