Pass back the user in all service results

pull/8452/head
Oliver Günther 4 years ago
parent cd9312120c
commit 50cdb76f62
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 2
      app/services/authentication/omniauth_service.rb

@ -167,7 +167,7 @@ module Authentication
.new(user)
.call
else
ServiceResult.new(success: true)
ServiceResult.new(success: true, result: user)
end
end

Loading…
Cancel
Save