public static function findByPasswordResetToken($id, $code)
	{
		if (!static::isPasswordResetTokenValid($code)) {
			return NULL;
		}

		return static::findOne([
			'id'                   => $id,
			'password_reset_token' => $code,
			'status'               => self::STATUS_ACTIVE,
		]);
	}