mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
Merge pull request #15195 from strapi/chore/incorrect-label
This commit is contained in:
commit
c31175fb37
@ -268,7 +268,7 @@ const Register = ({ authType, fieldsToDisable, noSignin, onSubmit, schema }) =>
|
||||
required
|
||||
label={formatMessage({
|
||||
id: 'Auth.form.confirmPassword.label',
|
||||
defaultMessage: 'Confirmation Password',
|
||||
defaultMessage: 'Confirm Password',
|
||||
})}
|
||||
type={confirmPasswordShown ? 'text' : 'password'}
|
||||
/>
|
||||
|
||||
@ -1020,7 +1020,7 @@ describe('ADMIN | PAGES | AUTH | Register', () => {
|
||||
<div
|
||||
class="c0 c13"
|
||||
>
|
||||
Confirmation Password
|
||||
Confirm Password
|
||||
<span
|
||||
class="c5 c27 c28"
|
||||
>
|
||||
|
||||
@ -154,7 +154,7 @@ const ForgotPassword = ({ onSubmit, schema }) => {
|
||||
required
|
||||
label={formatMessage({
|
||||
id: 'Auth.form.confirmPassword.label',
|
||||
defaultMessage: 'Confirmation Password',
|
||||
defaultMessage: 'Confirm Password',
|
||||
})}
|
||||
type={confirmPasswordShown ? 'text' : 'password'}
|
||||
/>
|
||||
|
||||
@ -766,7 +766,7 @@ describe('ADMIN | PAGES | AUTH | ResetPassword', () => {
|
||||
<div
|
||||
class="c0 c13"
|
||||
>
|
||||
Confirmation Password
|
||||
Confirm Password
|
||||
<span
|
||||
class="c5 c22 c23"
|
||||
>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
"Auth.form.button.login.strapi": "Log in via Strapi",
|
||||
"Auth.form.button.password-recovery": "Password Recovery",
|
||||
"Auth.form.button.register": "Let's start",
|
||||
"Auth.form.confirmPassword.label": "Confirmation Password",
|
||||
"Auth.form.confirmPassword.label": "Confirm Password",
|
||||
"Auth.form.currentPassword.label": "Current Password",
|
||||
"Auth.form.email.label": "Email",
|
||||
"Auth.form.email.placeholder": "e.g. kai@doe.com",
|
||||
|
||||
@ -50,7 +50,7 @@ describe('Auth API', () => {
|
||||
expect(res.body.error.message).toBe('Forbidden');
|
||||
});
|
||||
|
||||
test('Fails on invalid confirmation password', async () => {
|
||||
test('Fails on invalid confirm password', async () => {
|
||||
const res = await rq({
|
||||
method: 'POST',
|
||||
url: '/change-password',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user