Changeset 352 for trunk/app/controllers/users_controller.php
- Timestamp:
- 03/28/08 10:03:54 (10 months ago)
- Files:
-
- 1 modified
-
trunk/app/controllers/users_controller.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/controllers/users_controller.php
r342 r352 406 406 { 407 407 //die( var_dump($this->data['User']) ); 408 if ( strlen($this->data["User"]["pwd"]) >5) // only if pwd is big enough408 if ( strlen($this->data["User"]["pwd"]) < 5) // only if pwd is big enough 409 409 { 410 $this->data["User"]["pwd"] = md5($this->data["User"]["pwd"]); // MD5 411 } 412 else 413 { 414 unset($this->data["User"]["pwd"]); 410 unset($this->data["User"]["pwd"]); 415 411 } 416 412
