Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Pass back the user in all service results

Oliver Günther50cdb76f623e
diff --git a/app/services/authentication/omniauth_service.rb b/app/services/authentication/omniauth_service.rb
index f49e7136180..e5713df7352 100644
--- a/app/services/authentication/omniauth_service.rb
+++ b/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