Created
March 9, 2010 04:38
-
-
Save slywalker/326195 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/workshop/models/user.php b/workshop/models/user.php | |
index 1e751e4..c2dbe8d 100644 | |
--- a/workshop/models/user.php | |
+++ b/workshop/models/user.php | |
@@ -2,6 +2,7 @@ | |
class User extends AppModel { | |
var $name = 'User'; | |
+ var $displayField = 'username'; | |
var $validate = array( | |
'username' => array('notempty'), | |
'password' => array('notempty') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment