diff --git a/class.php b/class.php index 0202ed6..cf6d9ed 100644 --- a/class.php +++ b/class.php @@ -182,7 +182,7 @@ protected function sendVerifyEmail(): void $mail->send(); } - protected function verifyAccount(string $key): bool + public function verifyAccount(string $key): bool { $select = $this->db->prepare("SELECT `uid` FROM `activate_keys` WHERE `key` = ? LIMIT 1;"); $select->execute([$key]);