Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 27th, 2012  |  syntax: None  |  size: 0.67 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Issue with Devise Email Confirmation
  2. "We have sent you an email. Please confirm.
  3. If you have not received them please ask for conformation instructions"
  4.        
  5. render :template => 'shared/unconfirmed' and return if current_user.confirmed? == false
  6.        
  7. # ==> Configuration for :confirmable
  8. # A period that the user is allowed to access the website even without
  9. # confirming his account. For instance, if set to 2.days, the user will be
  10. # able to access the website for two days without confirming his account,
  11. # access will be blocked just in the third day. Default is 0.days, meaning
  12. # the user cannot access the website without confirming his account.
  13. # config.confirm_within = 2.days