From a9b42c63bf68f5a0ecbcc34ef978aea31ed83e34 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Wed, 17 Jan 2024 13:05:14 +0000 Subject: [PATCH] chore: remove var dumps --- app/controllers/api/account.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index ecba060b90..f8a2056353 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -2849,7 +2849,6 @@ App::post('/v1/account/verification') $isPrivilegedUser = Auth::isPrivilegedUser($roles); $isAppUser = Auth::isAppUser($roles); $verificationSecret = Auth::tokenGenerator(Auth::TOKEN_LENGTH_VERIFICATION); - var_dump($verificationSecret); $expire = DateTime::addSeconds(new \DateTime(), Auth::TOKEN_EXPIRATION_CONFIRM); $verification = new Document([ @@ -2995,7 +2994,6 @@ App::put('/v1/account/verification') ->inject('dbForProject') ->inject('queueForEvents') ->action(function (string $userId, string $secret, Response $response, Document $user, Database $dbForProject, Event $queueForEvents) { - var_dump($secret); $profile = Authorization::skip(fn() => $dbForProject->getDocument('users', $userId));