Skip to content

Commit 0023c5c

Browse files
Require new user registrations to confirm their email address before being allowed to log in. (#474)
Changes: * Changed the Devise configuration allow_unconfirmed_access_for from 1 to 0 days
1 parent 6671aca commit 0023c5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/initializers/devise.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
# able to access the website for two days without confirming their account,
129129
# access will be blocked just in the third day. Default is 0.days, meaning
130130
# the user cannot access the website without confirming their account.
131-
config.allow_unconfirmed_access_for = 1.days
131+
config.allow_unconfirmed_access_for = 0.days
132132

133133
# A period that the user is allowed to confirm their account before their
134134
# token becomes invalid. For example, if set to 3.days, the user can confirm

0 commit comments

Comments
 (0)