
Untitled
By: a guest on
Apr 27th, 2012 | syntax:
None | size: 0.67 KB | hits: 16 | expires: Never
Issue with Devise Email Confirmation
"We have sent you an email. Please confirm.
If you have not received them please ask for conformation instructions"
render :template => 'shared/unconfirmed' and return if current_user.confirmed? == false
# ==> Configuration for :confirmable
# A period that the user is allowed to access the website even without
# confirming his account. For instance, if set to 2.days, the user will be
# able to access the website for two days without confirming his account,
# access will be blocked just in the third day. Default is 0.days, meaning
# the user cannot access the website without confirming his account.
# config.confirm_within = 2.days