How to generate reset password token

前端 未结 4 725
一生所求
一生所求 2021-02-12 14:32

I am using devise gem for authentication.

In my application admin will create the users, so I want the user\'s reset password link when admin creates users.

This

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-12 15:10

    You can use user.send_reset_password_instructions for that.

提交回复
热议问题