mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Sign the auth token cookie and make it httpOnly
This commit is contained in:
@@ -38,7 +38,7 @@ describe SessionController do
|
||||
end
|
||||
|
||||
it 'sets a cookie with the auth token' do
|
||||
cookies[:_t].should == user.auth_token
|
||||
cookies.signed[:_t].should == user.auth_token
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user