refinery / refinerycms-authentication-devise

Devise based authentication extension for Refinery CMS
MIT License
17 stars 61 forks source link

Redirect to sign in page after sign out. #9

Closed andrewhavens closed 9 years ago

andrewhavens commented 9 years ago

This PR changes the default sign out redirect so that you are redirected back to the sign in page. This naturally fixes an issue where the "signed out successfully" flash message was being displayed on the next visit to the sign in page (which could have been a long time since logging out).

I also added a test for sign out.

I also added some documentation to the readme for future contributors on how to get the dependencies installed in order to run the test suite.