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
Restore ldap-only warning for mail
Oliver Günther9d36c750ad5d
diff --git a/app/views/my/account.html.erb b/app/views/my/account.html.erbindex 316e5c7db6f..3b67ce5144b 100644--- a/app/views/my/account.html.erb+++ b/app/views/my/account.html.erb@@ -74,9 +74,7 @@ See COPYRIGHT and LICENSE files for more details.</div><div class="form--field -required"><%= f.text_field :mail, required: true, container_class: '-middle', disabled: login_via_ldap %>- <% if login_via_provider %>- <span class="form--field-instructions"><%= t('user.text_change_disabled_for_provider_login') %></span>- <% elsif login_via_ldap %>+ <% if login_via_ldap %><span class="form--field-instructions"><%= t('user.text_change_disabled_for_ldap_login') %></span><% end %></div>