Skip to content

Commit

Permalink
Working on docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Dec 11, 2013
1 parent 073e07e commit b82ba27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ If the password is successfully reset, the user will be redirected to the root o

### Password Validation

By default, the `Password::reset` method will verify that the passwords match and are >= six characters. You may customize these rules using the `Password::validator` method, which accepts a Closure:
By default, the `Password::reset` method will verify that the passwords match and are >= six characters. You may customize these rules using the `Password::validator` method, which accepts a Closure. Within this Closure, you may do any password validation you wish. Note that you are not required to verify that the passwords match, as this will be done automatically by the framework.

Password::validator(function($credentials)
{
Expand Down

0 comments on commit b82ba27

Please sign in to comment.