Show
Ignore:
Timestamp:
03/28/08 10:03:54 (10 months ago)
Author:
aarkerio
Message:

Improvs on Lessons and Images

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/controllers/users_controller.php

    r342 r352  
    406406    { 
    407407        //die( var_dump($this->data['User']) ); 
    408         if (strlen($this->data["User"]["pwd"]) > 5)   // only if pwd is big enough 
     408        if ( strlen($this->data["User"]["pwd"]) < 5)   // only if pwd is big enough 
    409409        { 
    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"]);       
    415411        } 
    416412