Gracefully handle TooManyIps exception
What does this MR do and why?
Describe in detail what your merge request does and why.
Gracefully handle TooManyIps exception
TooManyIps exception which is added to restrict the same user from logging in from
too many different places is not handled properly when raised from a
middleware. Here we are using Devise failure_app
to handle this
exception from warden middleware and return 403 to the user
Related to #400401 (closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.