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:
Guo Xiang Tan
2017-02-24 13:12:29 +08:00
parent 889ab85431
commit 0847b4258a
3 changed files with 1 additions and 42 deletions

View File

@ -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