Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce user confusion about their authentication status after signin #31

Merged
merged 1 commit into from
May 30, 2024

Conversation

SantaClaas
Copy link
Contributor

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 SantaClaas requested a review from nherter May 28, 2024 20:57
@SantaClaas
Copy link
Contributor Author

Addresses #30 (comment)

@nherter nherter merged commit 57e99b6 into main May 30, 2024
@nherter nherter deleted the sign-in-redirect branch May 30, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants