ensure after_signup is not triggered on password reset
Dieser Commit ist enthalten in:
Ursprung
b78c2f0c0f
Commit
7952fd03b1
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -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?
|
||||||
|
|
Laden …
In neuem Issue referenzieren