lib/rodauth/features/disallow_password_reuse.rb in rodauth-2.12.0 vs lib/rodauth/features/disallow_password_reuse.rb in rodauth-2.13.0
- old
+ new
@@ -63,10 +63,10 @@
end
# :nocov:
end
return true unless match
- @password_requirement_message = password_same_as_previous_password_message
+ set_password_requirement_error_message(:password_same_as_previous_password, password_same_as_previous_password_message)
false
end
def after_close_account
super if defined?(super)