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

Fix returned result

Oliver Günther3f828d7fbd47
diff --git a/app/services/authentication/omniauth_service.rb b/app/services/authentication/omniauth_service.rb
index 725cb3a4bcc..f49e7136180 100644
--- a/app/services/authentication/omniauth_service.rb
+++ b/app/services/authentication/omniauth_service.rb
@@ -54,7 +54,7 @@ module Authentication
result = ServiceResult.new(success: false, errors: contract.errors)
Rails.logger.warn { "Failed to process omniauth response for #{auth_uid}: #{result.message}" }
- result
+ return result
end
# Create or update the user from omniauth