Skip to content

Commit

Permalink
Merge branch 'rgrigga-patch-2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizaco committed Oct 25, 2014
2 parents b92de9a + a4036f1 commit 4f552f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Confide/UserValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function validatePassword(ConfideUserInterface $user)
} else {
$this->attachErrorMsg(
$user,
'confide::confide.alerts.wrong_confirmation',
'confide::confide.alerts.password_confirmation',
'password_confirmation'
);
return false;
Expand Down
1 change: 1 addition & 0 deletions src/lang/en/confide.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
'wrong_credentials' => 'Incorrect username, email or password.',
'not_confirmed' => 'Your account may not be confirmed. Check your email for the confirmation link',
'confirmation' => 'Your account has been confirmed! You may now login.',
'password_confirmation' => 'The passwords did not match.',
'wrong_confirmation' => 'Wrong confirmation code.',
'password_forgot' => 'The information regarding password reset was sent to your email.',
'wrong_password_forgot' => 'User not found.',
Expand Down
2 changes: 1 addition & 1 deletion tests/Confide/UserValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function testShouldValidatePassword()
->atLeast(1)
->with(
m::any(),
'confide::confide.alerts.wrong_confirmation',
'confide::confide.alerts.password_confirmation',
'password_confirmation'
);

Expand Down

0 comments on commit 4f552f7

Please sign in to comment.