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
[34427] Do not output empty success flash in omniauth flow
Oliver Güntherde86dcd26a56
diff --git a/app/controllers/concerns/accounts/omniauth_login.rb b/app/controllers/concerns/accounts/omniauth_login.rbindex a6f8e80e949..de8866be502 100644--- a/app/controllers/concerns/accounts/omniauth_login.rb+++ b/app/controllers/concerns/accounts/omniauth_login.rb@@ -89,7 +89,7 @@ module Accounts::OmniauthLogin.call(user_params)if call.success?- flash[:notice] = call.message.presence+ flash[:notice] = call.message if call.message.present?login_user_if_active(call.result, just_registered: call.result.just_created?)elsif call.includes_error?(:base, :failed_to_activate)redirect_omniauth_register_modal(call.result, auth_hash)