mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 00:20:54 +08:00
Fix all the errors to get our tests green on Rails 5.1.
This commit is contained in:
@ -197,6 +197,7 @@ class Auth::DefaultCurrentUserProvider
|
||||
elsif user && @user_token
|
||||
@user_token.destroy
|
||||
end
|
||||
|
||||
cookies.delete(TOKEN_COOKIE)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user