1
0

Added Code for DailyProg

This commit is contained in:
2014-05-28 09:35:46 +02:00
parent 5210478251
commit d74a13f661
7 changed files with 286 additions and 121 deletions

View File

@@ -20,7 +20,7 @@ class UserIdentity extends CUserIdentity
$users=array(
// username => password
'demo'=>'demo',
'admin'=>'admin',
'admin'=>'admin', //TODO Change me
);
if(!isset($users[$this->username]))
$this->errorCode=self::ERROR_USERNAME_INVALID;