feat(admin/user): show users auth method + add cli to recover broken opaque login

This commit is contained in:
Edouard Vanbelle
2026-08-05 21:12:51 +02:00
parent c4bf2568ba
commit 84a1b0e005
14 changed files with 527 additions and 81 deletions
+1 -4
View File
@@ -255,10 +255,7 @@ pub async fn require_internal_user_layer(
/// on a rate-limited public path that doesn't carry a `CurrentUser` at
/// middleware time; the gate never fires on it. If refresh ever moves
/// under the gate, add `(&Method::POST, "/api/auth/refresh")` here.
fn is_password_change_pending_allowlisted(
method: &axum::http::Method,
path: &str,
) -> bool {
fn is_password_change_pending_allowlisted(method: &axum::http::Method, path: &str) -> bool {
use axum::http::Method;
matches!(
(method, path),