##// END OF EJS Templates
Remove autologin cookie on unverified request....
Jean-Philippe Lang -
r6196:b81149fa47ed
parent child
Show More
@@ -27,7 +27,10 class ApplicationController < ActionController::Base
27 27 exempt_from_layout 'builder', 'rsb'
28 28
29 29 protect_from_forgery
30
30 def handle_unverified_request
31 super
32 cookies.delete(:autologin)
33 end
31 34 # Remove broken cookie after upgrade from 0.8.x (#4292)
32 35 # See https://rails.lighthouseapp.com/projects/8994/tickets/3360
33 36 # TODO: remove it when Rails is fixed
General Comments 0
You need to be logged in to leave comments. Login now