Skip to content

Commit

Permalink
Merge pull request #218 from mfjordvald/patch-1
Browse files Browse the repository at this point in the history
Allow passwords longer than 11 characters. I agree @mfjordvald
  • Loading branch information
andrew13 committed Feb 18, 2014
2 parents 17ce63e + fb1e9b5 commit aadac7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Zizaco/Confide/ConfideUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class ConfideUser extends Ardent implements UserInterface {
public static $rules = array(
'username' => 'required|alpha_dash|unique:users',
'email' => 'required|email|unique:users',
'password' => 'required|between:4,11|confirmed',
'password_confirmation' => 'between:4,11',
'password' => 'required|min:4|confirmed',
'password_confirmation' => 'min:4',
);

/**
Expand Down Expand Up @@ -327,8 +327,8 @@ protected function sendEmail( $subject_translation, $view_name, $params = array(
protected $updateRules = array(
'username' => 'required|alpha_dash',
'email' => 'required|email',
'password' => 'between:4,11|confirmed',
'password_confirmation' => 'between:4,11',
'password' => 'min:4|confirmed',
'password_confirmation' => 'min:4',
);

/**
Expand Down

0 comments on commit aadac7d

Please sign in to comment.