We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4deeb64 commit 7ae42fcCopy full SHA for 7ae42fc
2 files changed
config/initializers/devise.rb
@@ -114,7 +114,7 @@
114
# access will be blocked just in the third day. Default is 0.days, meaning
115
# the user cannot access the website without confirming their account.
116
# config.allow_unconfirmed_access_for = 2.days
117
- config.allow_unconfirmed_access_for = 2.days if Rails.env.test?
+ # config.allow_unconfirmed_access_for = 2.days if Rails.env.test?
118
119
# A period that the user is allowed to confirm their account before their
120
# token becomes invalid. For example, if set to 3.days, the user can confirm
spec/factories/users.rb
@@ -6,6 +6,6 @@
6
factory :user do
7
email
8
password '12345678'
9
- password_confirmation '12345678'
+ confirmed_at {Time.now}
10
end
11
0 commit comments