1
0
Fork 0

ensure after_signup is not triggered on password reset

Dieser Commit ist enthalten in:
Angus McLeod 2018-09-25 21:04:08 +10:00
Ursprung b78c2f0c0f
Commit 7952fd03b1

Datei anzeigen

@ -9,7 +9,7 @@ require_dependency 'wizard/step'
custom_redirect = false custom_redirect = false
if user && wizard_id = CustomWizard::Wizard.after_signup if user && user.first_seen_at.blank? && wizard_id = CustomWizard::Wizard.after_signup
wizard = CustomWizard::Wizard.create(user, wizard_id) wizard = CustomWizard::Wizard.create(user, wizard_id)
if !wizard.completed? && wizard.permitted? if !wizard.completed? && wizard.permitted?