public function create($is_root = false) { $crypted_password = SimpleAuthenticator::getCryptedPassword($this->getIdentifier(), $this->get('password')); $this->set('password', $crypted_password); return parent::create($is_root); }