mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-10 08:08:00 -05:00
Set variable to false instead of nil
This commit is contained in:
@@ -228,7 +228,7 @@ module Devise
|
||||
|
||||
def postpone_email_change?
|
||||
postpone = self.class.reconfirmable && email_changed? && !@bypass_postpone
|
||||
@bypass_postpone = nil
|
||||
@bypass_postpone = false
|
||||
postpone
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user