Tie etag to sessions
So that we don't get CSRF token issues if sharing sessions in the same browser
This commit is contained in:
@@ -8,6 +8,8 @@ module Authentication
|
||||
before_action :require_authentication
|
||||
helper_method :authenticated?
|
||||
|
||||
etag { Current.session.id if authenticated? }
|
||||
|
||||
include LoginHelper
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user