Skip to content
Snippets Groups Projects

Force notifications to SAML email address for dedicated users

Merged Gosia Ksionek requested to merge force-notification-to-saml-email-ee into master
All threads resolved!
1 file
+ 1
3
Compare changes
  • Side-by-side
  • Inline
- group_managed_account = @user.group_managed_account?
- group_managed_account = @user.group_managed_account?
- help_text = group_managed_account ? s_("Your account uses dedicated credentials for the \"%{group_name}\" group and can only be updated through SSO.").html_safe % { group_name: @user.managing_group.name } : nil
- help_text = group_managed_account ? s_("Your account uses dedicated credentials for the \"%{group_name}\" group and can only be updated through SSO.").html_safe % { group_name: @user.managing_group.name } : nil
= form.select :notification_email, @user.all_emails, { include_blank: false }, class: "select2", disabled: group_managed_account
= render_ce 'profiles/notifications/email_settings', group_managed_account: group_managed_account, help_text: help_text, form: form
.help-block
= help_text
Loading