public function changePassword($password_token, $new_password)
	{
		if ($this->checkPasswordToken($password_token)) {
			$this->password                     = $new_password;
			$this->attributes['password_token'] = null;
			FuzzAuthUserProvider::revokeSessionsForOwnerTypeAndId('user', $this->{$this->getKey()});

			return true;
		}

		return false;
	}
public function changePassword($password_token, $new_password)
	{
		if ($this->checkPasswordToken($password_token)) {
			$this->password                     = $new_password;
			$this->attributes['password_token'] = null;
			FuzzAuthUserProvider::revokeSessionsForOwnerTypeAndId('user', $this->{$this->getKey()});

			return true;
		}

		return false;
	}
public function changePassword ( $ password_token , $ new_password ) { if ( $ this -> checkPasswordToken ( $ password_token ) ) { $ this -> password = $ new_password ; $ this -> attributes [ 'password_token' ] = null ; FuzzAuthUserProvider :: revokeSessionsForOwnerTypeAndId ( 'user' , $ this -> { $ this -> getKey ( ) } ) ; return true ; } return false ; }
Reset password with a token.

@param  string $password_token
@param  string $new_password
@return boolean
Reset password with a token .