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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
do no allow taking over builtin users via omniauth
Markus Kahl94056f811d68
diff --git a/app/services/authentication/omniauth_service.rb b/app/services/authentication/omniauth_service.rbindex 5f8e7b8e1aa..6983bb32117 100644--- a/app/services/authentication/omniauth_service.rb+++ b/app/services/authentication/omniauth_service.rb@@ -162,7 +162,7 @@ module Authenticationdef remap_existing_userreturn unless Setting.oauth_allow_remapping_of_existing_users?- User.find_by_login(user_attributes[:login])+ User.not_builtin.find_by(login: user_attributes[:login])end##