Skip to content

Commit

Permalink
Fixed inconsistent password requirements across admin user creation, …
Browse files Browse the repository at this point in the history
…user profile and forgotten password
  • Loading branch information
snipe committed Jul 9, 2014
1 parent 66c9264 commit 2b9494e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/AuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function postSignup()
'last_name' => 'required|min:2',
'email' => 'required|email|unique:users',
'email_confirm' => 'required|email|same:email',
'password' => 'required|between:8,32',
'password' => 'required|between:10,32',
'password_confirm' => 'required|same:password',
);

Expand Down Expand Up @@ -259,7 +259,7 @@ public function postForgotPasswordConfirm($passwordResetCode = null)
{
// Declare the rules for the form validation
$rules = array(
'password' => 'required|between:8,32',
'password' => 'required|between:10,32',
'password_confirm' => 'required|same:password'
);

Expand Down

0 comments on commit 2b9494e

Please sign in to comment.