Skip to content

Commit 96edb4b

Browse files
committed
requested changes
1 parent 830ddc9 commit 96edb4b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/User/src/InputFilter/ProfilePasswordInputFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function init(): void
5151
])
5252
->attachByName(Identical::class, [
5353
'token' => 'password',
54-
'message' => '<b>Password confirm</b> does not match',
54+
'message' => '<b>Confirm Password</b> does not match',
5555
]);
5656
$this->add($passwordConfirm);
5757
}

src/User/src/InputFilter/ResetPasswordInputFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function init(): void
5151
])
5252
->attachByName(Identical::class, [
5353
'token' => 'password',
54-
'message' => '<b>Password confirm</b> does not match',
54+
'message' => '<b>Confirm Password</b> does not match',
5555
]);
5656
$this->add($passwordConfirm);
5757
}

test/Unit/User/InputFilter/ProfilePasswordInputFilterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function testWillValidateConfirmPassword(): void
107107
$this->assertIsArray($messages['passwordConfirm']);
108108
$this->assertArrayHasKey('notSame', $messages['passwordConfirm']);
109109
$this->assertSame(
110-
'<b>Password confirm</b> does not match',
110+
'<b>Confirm Password</b> does not match',
111111
$messages['passwordConfirm']['notSame']
112112
);
113113
}

test/Unit/User/InputFilter/ResetPasswordInputFilterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function testWillValidateConfirmPassword(): void
107107
$this->assertIsArray($messages['passwordConfirm']);
108108
$this->assertArrayHasKey('notSame', $messages['passwordConfirm']);
109109
$this->assertSame(
110-
'<b>Password confirm</b> does not match',
110+
'<b>Confirm Password</b> does not match',
111111
$messages['passwordConfirm']['notSame']
112112
);
113113
}

0 commit comments

Comments
 (0)