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> | 2018-08-26 23:48:59 +0000 |
commit | 915e2b2fde9d42cd838bdd0fd06788b1fd353c76 (patch) | |
tree | 85d40b77dd2cc27ac1e97866b4e9d46a0e6773f8 | |
parent | eb7e6561ad25ce3494d284c15541702c59130128 (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 1d42901f0..58a48241c 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 |