Skip to content

Gracefully handle TooManyIps exception

Aboobacker MK requested to merge tachyons/too_many_ips_warden into master

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.

Merge request reports