We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
I have two scoped users: users and students.
users
students
I each have a different authentication key for logging in: email and user_id.
email
user_id
I want the different messages to popup when they try to login and fail.
devise: failure: user_invalid: 'Invalid email or password.' student_invalid: 'Invalid user ID or password.'
https://github.com/heartcombo/devise/blob/5d5636f03ac19e8188d99c044d4b5e90124313af/test/mailers/reset_password_instructions_test.rb#L74