Skip to content

Commit

Permalink
Merge pull request #39 from nilamdoc/correction
Browse files Browse the repository at this point in the history
Valdation
  • Loading branch information
gwoo committed Oct 24, 2012
2 parents ef1c899 + ee9b4c3 commit ea73700
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/working-with-data/validation.wiki
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ class User extends lithium\data\Model {
'username' => array(
array(
'notEmpty',
'required' => true
'required' => true,
'message' => 'Please supply a username.'
)
),
'password' => array(
array(
'notEmpty',
'required' => true
'required' => true,
'message' => 'Please supply a password.'
)
)
Expand Down

0 comments on commit ea73700

Please sign in to comment.