mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Unsign auth token cookies per discussion on #215
This commit is contained in:
parent
20d6152bb4
commit
3e6641c07e
3 changed files with 4 additions and 3 deletions
|
@ -38,7 +38,7 @@ describe SessionController do
|
|||
end
|
||||
|
||||
it 'sets a cookie with the auth token' do
|
||||
cookies.signed[:_t].should == user.auth_token
|
||||
cookies[:_t].should == user.auth_token
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue