curationexperts / epigaea

A MIRA replacement running on Hyrax 2.0
Other
1 stars 2 forks source link

DISCOVERY: users can't sign out #851

Closed mark-dce closed 6 years ago

mark-dce commented 6 years ago

ISSUE After implementing non-authenticated user restrictions in #846, I can no longer log-out :(

When I click the log-out button, I get the flash warning: User 'sign_out' does not exist

STEPS TO REPRODUCE

  1. Log in
  2. Try to log out...
mark-dce commented 6 years ago

@bess it looks like #846 may have introduced a regression that prevents users from signing out. I have the current branch of master deployed to http://qa-epigaea.curationexperts.com where you can see the behavior; it also occurs in my local development environment.

Tom put together a short feature test in the sign-out branch that demonstrates the issue: https://github.com/curationexperts/epigaea/blob/sign-out/spec/features/login_out_spec.rb