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

Use notice instead of alert for 'already_authenticated' flash message #5398

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ryenski
Copy link

@ryenski ryenski commented Aug 23, 2021

In most Rails apps, flash[:alert] messages are represented as error messages. It seems a little awkward and inappropriate to display the already_authenticated message as an error message. It would seem to make more sense to display it as a success message.

This PR sets already_authenticated as a flash[:notice] instead of flash[:alert].

This would close #5302

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

already_authenticated should set flash notice instead of flash alert
1 participant