unlock doesn't work
xxxazxxx opened this issue · 5 comments
xxxazxxx commented
request new unlock :
https://rails4-starterkit.herokuapp.com/a/unlock/new
mailer:
https://rails4-starterkit.herokuapp.com/a/unlock?unlock_token=MESrgbKRe-9bg-xxx
404 page not found
simple10 commented
@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.
xxxazxxx commented
i got the unlock link but when i click on that link, i get a 404 page not found
simple10 commented
Closing this for now since I'm unable to reproduce it. More often than not, people disable the unlock feature of Devise anyway.
jsh-c commented
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):
jsh-c commented
changed to
class Users::UnlocksController < Devise::UnlocksController
fixed it