Skip to content

Commit

Permalink
Displays correct validation error #124
Browse files Browse the repository at this point in the history
Thanks Eugene
  • Loading branch information
andrew13 committed Oct 16, 2013
1 parent 5b54853 commit 7455f0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Zizaco/Confide/ConfideUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ public function save( array $rules = array(), array $customMessages = array(), a
}
else
{
$this->validate();
$this->validationErrors->add(
'duplicated',
static::$app['translator']->get('confide::confide.alerts.duplicated_credentials')
Expand Down

0 comments on commit 7455f0b

Please sign in to comment.