Skip to content

Commit

Permalink
chore(docs): allow_unconfirmed_access_for = nil (#2275) (#4964)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaumg authored and tegon committed Nov 12, 2018
1 parent 517010e commit fa067b3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/generators/templates/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,11 @@
# A period that the user is allowed to access the website even without
# confirming their account. For instance, if set to 2.days, the user will be
# able to access the website for two days without confirming their account,
# access will be blocked just in the third day. Default is 0.days, meaning
# the user cannot access the website without confirming their account.
# access will be blocked just in the third day.
# You can also set it to nil, which will allow the user to access the website
# without confirming their account.
# Default is 0.days, meaning the user cannot access the website without
# confirming their account.
# config.allow_unconfirmed_access_for = 2.days

# A period that the user is allowed to confirm their account before their
Expand Down

0 comments on commit fa067b3

Please sign in to comment.