Sample app won’t logout user on Heroku

Hey guys,

I am following the Ruby on Rails Tutorial by Hartl, and I have just finished the chapter on signin/out. When I host the server on my machine, everything works great. When it is deployed to heroku, it automatically logs you in as the example user I made, and it will not log out. Not only that, but you can create a new user, and it will then log you in as that new user. If you sign out of that new user, you automatically get signed back in as the example user.

The app is being hosted here: https://serene-bayou-7583.herokuapp.com/

Any help is appreciated!

1 thought on “Sample app won’t logout user on Heroku”

  1. Could you link to the github repo were your code is hosted?

    Edit: It does not log me in automatically when I visit your app, maybe delete your cookies and see if the problem persists?

    Reply

Leave a Comment