How to remove devise password resetting during email confirmation?

前端 未结 3 739
伪装坚强ぢ
伪装坚强ぢ 2021-01-26 00:53

My email confirmation works with devise, however I want to remove this automatic password resetting. I don\'t manage to find in which file devise orders this action. Thank you i

3条回答
  •  萌比男神i
    2021-01-26 01:09

    If you don't want password recovery functionality in Devise, you should not set devise attribute ':recoverable' in your model. Please remove this attribute from your model, remove forgot password links from you views and you will no longer be able to reset password with Devise.

提交回复
热议问题