mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 23:27:46 +08:00
Revert "SECURITY: Ensure that user has been authenticated."
This reverts commit fbe51d68a7e4c89183415e24e8163dd3f70085df. Changing the commit message to correctly reflect what we're actually fixing.
This commit is contained in:
@ -611,8 +611,6 @@ describe UsersController do
|
||||
auth = session[:authentication] = {}
|
||||
auth[:authenticator_name] = 'twitter'
|
||||
auth[:extra_data] = twitter_auth
|
||||
auth[:email_valid] = true
|
||||
auth[:email] = @user.email
|
||||
|
||||
post_user
|
||||
|
||||
|
Reference in New Issue
Block a user