ruby on rails - Devise Soft Email Confirmation -


i have rails 3 application uses devise , confirmable module. however, preventing newly registered users accessing the site until confirm email causing retention problems. instead, instantly grant access user and still send them confirmation email. run background task lock out user's have not confirmed email within fixed period of time.

is possible confirmable module? there way still create active resource (user) hasn't confirmed email confirmable module? general advice on implementing this?

i believe can use confirm_within specify lockout constraint. can enable when call devise_for.

http://rubydoc.info/github/plataformatec/devise/master/devise/models/confirmable

also, can choose constrain behaviors "only" confirmed users checking confirmed? status of user model. in controller, or using cancan, or whatever. tasks on site don't require confirmation; need more when user interacts other people or can use site send notifications/emails, etc.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -