I have a button on my webpage that redirects mine from a user index with parameters back to the user index. My problem is that when I go back to the users_path via the button, I get a message form form that says: "You are already logged in." This happens even though I did not try to log in and went only to one page, but deleted the settings.
This button looks like this:
<%= button_to "All Users", users_path, class: "button expand" %>
I searched all my files for "You are already logged in" instances. and the only refrence is in devise.en.yml, which says already_authenticated: "You are already signed in."
source share