-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The inactive_message and active_for_authentication #695
Comments
I believe this is the same as #533 I ran into this issue today. There are many reasons why an account could be inactive, so to follow devise's lead, i'm thinking DTA should probably use |
correct. do this in your custom controller.
|
Works a treat, thanks! |
Nice |
Currently, I am facing the same issue. I have written my custom method in
trying to overwrite When I tried to overwrite message from
Then I am getting custom error message. Can someone help me with this? Thank you |
I use devise_token_auth and want to implement blocking user feature. The documentation about feature which I refer here.
First part concerning
active_for_authentication
work fine.But the
inactive_message
does not called. And the result error message does not possible to change. The result is:How to change the error message? Why it is impossible to change error message via inactive_message and why it is not called? Possible is it bug?
The text was updated successfully, but these errors were encountered: