diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2018-08-26 23:48:59 +0000 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2019-02-27 10:16:57 -0500 |
commit | b9a578ddea8427840de7c27478ec00954430662b (patch) | |
tree | 5ff2888bafbdd853e9b0e7cbd31e2aeb47b8b683 | |
parent | 98274a82663d313eed95eeaad0605744a5a5a798 (diff) |
make invalid CSRF-token/no-cookie error more informative
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 94f435948..41ea44d2c 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -47,7 +47,7 @@ class ApplicationController < ActionController::Base cookies.delete(autologin_cookie_name) self.logged_user = nil set_localization - render_error :status => 422, :message => "Invalid form authenticity token." + render_error :status => 422, :message => "Invalid form authenticity token. Ensure that your browser has cookies enabled for this domain." end end |