Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/stable' into pkgr
Browse files Browse the repository at this point in the history
  • Loading branch information
crohr committed Feb 27, 2017
2 parents bd4d20e + 2c9a43e commit c65411e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 42 deletions.
5 changes: 1 addition & 4 deletions app/services/user_authenticator.rb
Expand Up @@ -21,10 +21,7 @@ def has_authenticator?
end

def finish
if authenticator && authenticated?
authenticator.after_create_account(@user, @session)
end

authenticator.after_create_account(@user, @session) if authenticator
@session = nil
end

Expand Down
36 changes: 0 additions & 36 deletions spec/components/auth/user_authenticator_spec.rb

This file was deleted.

2 changes: 0 additions & 2 deletions spec/controllers/users_controller_spec.rb
Expand Up @@ -614,8 +614,6 @@ def post_user
auth = session[:authentication] = {}
auth[:authenticator_name] = 'twitter'
auth[:extra_data] = twitter_auth
auth[:email_valid] = true
auth[:email] = @user.email

TwitterUserInfo.expects(:create)

Expand Down

0 comments on commit c65411e

Please sign in to comment.