lib/devise/models/database_authenticatable.rb in devise-4.8.0 vs lib/devise/models/database_authenticatable.rb in devise-4.8.1
- old
+ new
@@ -11,11 +11,11 @@
# and store it in the `encrypted_password` column, bypassing any pre-existing
# `password` column if it exists.
#
# == Options
#
- # DatabaseAuthenticatable adds the following options to devise_for:
+ # DatabaseAuthenticatable adds the following options to +devise+:
#
# * +pepper+: a random string used to provide a more secure hash. Use
# `rails secret` to generate new keys.
#
# * +stretches+: the cost given to bcrypt.
@@ -40,10 +40,10 @@
end
def initialize(*args, &block)
@skip_email_changed_notification = false
@skip_password_change_notification = false
- super
+ super
end
# Skips sending the email changed notification after_update
def skip_email_changed_notification!
@skip_email_changed_notification = true