Sabo
09/21/2022, 8:42 AMsolidus_auth_devise
confirmable module, I want to force the user to confirm before logging in, I follow this instructions # ==> Configuration for :confirmable # The time you want to give your user to confirm his account. During this time # he will be able to access your application without confirming. Default is nil. # When confirm_within is zero, the user won't be able to sign in without confirming. # You can use this to let your user access some features of your application # without confirming the account, but blocking it after a certain period # (ie 2 days). # config.confirm_within = 2.days
so I settled on config.confirm_with
on 0.days
but I get this error Courriel translation missing: fr.activerecord.errors.models.spree/user.attributes.email.confirmation_period_expired
when I click on the confirmation linkwaiting_for_dev
09/21/2022, 10:02 AMconfig/locales/fr.yml
file?Sabo
09/21/2022, 10:59 AMelia
09/21/2022, 2:36 PM0.days
shouldn’t it be the timespan in which the user has a chance to click the confirmation link? With 0 days it will be impossible to confirm… maybe 24.hours
?Sabo
09/21/2022, 3:19 PM# When confirm_within is zero, the user won't be able to sign in without confirming.
I will try with :
config.allow_unconfirmed_access_for = 0.days
config.confirm_within = 2.days
elia
09/21/2022, 3:20 PMSabo
09/21/2022, 3:26 PM