I Have a Devise
model(User). When I log in with a valid email and password then everything is working fine. but when the email or password is wrongly entered, instead of redirecting to the Devise
login page with devise default error, I am getting a different error message
I18n::MissingInterpolationArgument at /users/sign_in
missing interpolation argument :authentication_keys in "Invalid %{authentication_keys} or password." ({:resource_name=>:user} given)
I don't know how to fix this. can someone help me with this?
Although Opeyemi Akinwoleola's hack works, a better solution is to update to a more recent version of the devise gem (see also my response to this post: Devise login error for invalid email or password is not working in rails)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With