lib/devise_zxcvbn/model.rb in devise_zxcvbn-5.1.0 vs lib/devise_zxcvbn/model.rb in devise_zxcvbn-5.2.0
- old
+ new
@@ -30,10 +30,10 @@
private
def strong_password
if errors.messages.blank? && password_weak?
- errors.add :password, :weak_password, i18n_variables
+ errors.add :password, :weak_password, **i18n_variables
end
end
def i18n_variables
{