Delay and or resend Devise's confirmation email for manually created users

后端 未结 7 1958
予麋鹿
予麋鹿 2021-01-30 22:37

I\'m using Devise to allow user signup as-well-as using my own user admin to create users manually. When I create a user in the admin, Devise sends a confirmati

相关标签:
7条回答
  • 2021-01-30 23:05

    The solution is not so simple as @Ryan Heneise's answer. If you do @user.skip_confirmation! it confirms the user, so the user can log in without using the confirmation, so the confirmation letter in this case is useless. This solution does not allows the user to log in without the confirmation: Rails 3 with Devise for Authentication - How do I manually create a user?

    0 讨论(0)
提交回复
热议问题