starterkits/rails4-starterkit

unlock doesn't work

xxxazxxx opened this issue · 5 comments

@xxxazxxx what steps did you take to get the above unlock url? Users:UnlocksController inherits from Devise::PasswordsController. So you should get a password reset link instead of an unlock link. The password reset will also unlock your account.

i got the unlock link but when i click on that link, i get a 404 page not found

Closing this for now since I'm unable to reproduce it. More often than not, people disable the unlock feature of Devise anyway.

same issue here..

2015-05-11T21:35:25.152358+00:00 heroku[router]: at=info method=GET path="/a/unlock?unlock_token=xxd5sCh1xx49ferfxxxxxx" host=app.xxxxxx.com request_id=xxxx-xxxx-xx-921b-d0276b7dxxx fwd="xxxx.108" dyno=web.1 connect=0ms service=435ms status=404 bytes=1636
2015-05-11T21:35:25.144326+00:00 app[web.1]: AbstractController::ActionNotFound (The action 'show' could not be found for Users::UnlocksController):

changed to

class Users::UnlocksController < Devise::UnlocksController

fixed it