diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-16 15:09:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-16 15:09:08 +0300 |
commit | 036cfe846472ee1cca9f7b8c43af28cd344ad66a (patch) | |
tree | 6712787dc2499e8ef8b9d887b8deed0c8a01dac6 /app/assets/javascripts/sessions | |
parent | 06672560caf7701c357eb468ca17cce817b57239 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/sessions')
-rw-r--r-- | app/assets/javascripts/sessions/new/components/update_email.vue | 3 | ||||
-rw-r--r-- | app/assets/javascripts/sessions/new/constants.js | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/sessions/new/components/update_email.vue b/app/assets/javascripts/sessions/new/components/update_email.vue index 192b46089ad..124cd671169 100644 --- a/app/assets/javascripts/sessions/new/components/update_email.vue +++ b/app/assets/javascripts/sessions/new/components/update_email.vue @@ -5,6 +5,7 @@ import axios from '~/lib/utils/axios_utils'; import { I18N_EMAIL, I18N_UPDATE_EMAIL, + I18N_UPDATE_EMAIL_GUIDANCE, I18N_CANCEL, I18N_EMAIL_INVALID, I18N_UPDATE_EMAIL_SUCCESS, @@ -98,6 +99,7 @@ export default { email: I18N_EMAIL, updateEmail: I18N_UPDATE_EMAIL, cancel: I18N_CANCEL, + guidance: I18N_UPDATE_EMAIL_GUIDANCE, }, }; </script> @@ -117,6 +119,7 @@ export default { autofocus :state="inputValidation.state" /> + <p class="gl-mt-3 gl-text-secondary">{{ $options.i18n.guidance }}</p> </gl-form-group> <section class="gl-mt-5"> <gl-button block variant="confirm" type="submit" :disabled="!inputValidation.state">{{ diff --git a/app/assets/javascripts/sessions/new/constants.js b/app/assets/javascripts/sessions/new/constants.js index c38829747fb..e9bd26099aa 100644 --- a/app/assets/javascripts/sessions/new/constants.js +++ b/app/assets/javascripts/sessions/new/constants.js @@ -15,6 +15,9 @@ export const I18N_GENERIC_ERROR = s__( export const I18N_EMAIL = __('Email'); export const I18N_UPDATE_EMAIL = s__('IdentityVerification|Update email'); +export const I18N_UPDATE_EMAIL_GUIDANCE = s__( + "EmailVerification|Update your email to a valid permanent address. If you use a temporary email, you won't be able to sign in later.", +); export const I18N_CANCEL = __('Cancel'); export const I18N_EMAIL_INVALID = s__('IdentityVerification|Please enter a valid email address.'); export const I18N_UPDATE_EMAIL_SUCCESS = s__( |