redirect to admin login page when forward fails #1923

Closed
opened 2026-04-06 02:39:42 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @stefan0xC on 11/2/2022

Currently, if the admin guard fails the user will get a 404 page instead of being forwarded to the login page.

This change addresses issues like #2880 and #2883 by implementing a default forward catcher for all admin pages so this comment is correct:
f60a6929a9/src/api/admin.rs (L656)

*Originally created by @stefan0xC on 11/2/2022* Currently, if the admin guard fails the user will get a 404 page instead of being forwarded to the login page. This change addresses issues like #2880 and #2883 by implementing a default forward catcher for all admin pages so this comment is correct: https://github.com/dani-garcia/vaultwarden/blob/f60a6929a9a289bd39c38eeb793ebf54c4d88199/src/api/admin.rs#L656
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1923