Revert "SECURITY: Ensure that user has been authenticated."

This reverts commit fbe51d68a7.

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

@@ -21,10 +21,7 @@ class UserAuthenticator
end
def finish
if authenticator && authenticated?
authenticator.after_create_account(@user, @session)
end
authenticator.after_create_account(@user, @session) if authenticator
@session = nil
end