UX: add instructions to update email when sso_overrides_email is enabled

This commit is contained in:
Arpit Jalan 2019-03-18 16:51:55 +05:30
parent 9dbca41152
commit 0c01cb2cf3
3 changed files with 6 additions and 1 deletions

View File

@ -41,6 +41,9 @@
{{/if}}
</div>
<div class='instructions'>
{{#if siteSettings.sso_overrides_email}}
{{i18n 'user.email.sso_override_instructions'}}
{{/if}}
{{i18n 'user.email.instructions'}}
</div>
{{else}}

View File

@ -855,7 +855,8 @@ en:
primary: "Primary Email"
secondary: "Secondary Emails"
no_secondary: "No secondary emails"
instructions: "never shown to the public"
sso_override_instructions: "Email can be updated from SSO provider."
instructions: "Never shown to the public."
ok: "We will email you to confirm"
invalid: "Please enter a valid email address"
authenticated: "Your email has been authenticated by {{provider}}"

View File

@ -410,6 +410,7 @@ login:
sso_overrides_email:
default: false
validator: "SsoOverridesEmailValidator"
client: true
sso_overrides_username: false
sso_overrides_name: false
sso_overrides_avatar: