nc-apps / quex

UX Questionnaires for the student initiative project
Apache License 2.0
0 stars 0 forks source link

Reduce user confusion about their authentication status after signin #31

Closed SantaClaas closed 1 month ago

SantaClaas commented 1 month ago

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).

SantaClaas commented 1 month ago

Addresses https://github.com/nc-apps/quex/pull/30#issuecomment-2135503071