invalid_authenticity_token_rescue 0.1.1
Rails 5 default protect_from_forgery is to raise an exception. Some browsers trigger this exception by caching pages. This gem rescues the InvalidAuthenticityToken exception, triggers ExceptionNotifier, and redirects to the login page.
Gemfile:
=
安装:
=
Runtime 依赖 (2):
exception_notification
~> 4.2.1
rails
< 5.2, >= 5.0.0
Development 依赖 (1):
sqlite3
>= 0