Commit 53c379f
fix(auth): require active user for admin routes
get_current_admin_user now depends on get_current_active_user so
disabled accounts cannot access admin endpoints.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent f171746 commit 53c379f
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
0 commit comments