src/wcmf/lib/security/principal/impl/AbstractUser.php
protected function ensureHashedPassword() {
    // the password is expected to be stored in the 'password' value
    $password = $this->getValue('password');
    if (strlen($password) > 0 && !PasswordService::isHashed($password)) {
      $this->setValue('password', PasswordService::hash($password));
    }
  }
protected function ensureHashedPassword() {
    // the password is expected to be stored in the 'password' value
    $password = $this->getValue('password');
    if (strlen($password) > 0 && !PasswordService::isHashed($password)) {
      $this->setValue('password', PasswordService::hash($password));
    }
  }
protected function ensureHashedPassword ( ) { // the password is expected to be stored in the 'password' value $ password = $ this -> getValue ( 'password' ) ; if ( strlen ( $ password ) > 0 && ! PasswordService :: isHashed ( $ password ) ) { $ this -> setValue ( 'password' , PasswordService :: hash ( $ password ) ) ; } }
Hash password property if not done already.
Hash password property if not done already .