Already signed in (authenticated) users opening the sign in page might be confused about their sign in status.
Reusing Authenticated user extractor from auth/authenticated_user.rs but if it's wrapped in an option it doesn't cause a redirect if user is not authenticated (because it is optional and axum understands that, I love axum).
Already signed in (authenticated) users opening the sign in page might be confused about their sign in status.
Reusing Authenticated user extractor from
auth/authenticated_user.rs
but if it's wrapped in an option it doesn't cause a redirect if user is not authenticated (because it is optional and axum understands that, I love axum).