From 4679eff4b83ac9beedde620eda3f1d6576b2238e Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Wed, 5 Nov 2025 03:34:52 +0000 Subject: [PATCH] use argon 2 default --- app/controllers/api/users.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/controllers/api/users.php b/app/controllers/api/users.php index eaa814efad..f3a76f2404 100644 --- a/app/controllers/api/users.php +++ b/app/controllers/api/users.php @@ -350,10 +350,6 @@ App::post('/v1/users/argon2') ->inject('hooks') ->action(function (string $userId, string $email, string $password, string $name, Response $response, Document $project, Database $dbForProject, Hooks $hooks) { $argon2 = new Argon2(); - $argon2 - ->setMemoryCost(7168) - ->setTimeCost(5) - ->setThreads(1); $user = createUser($argon2, $userId, $email, $password, null, $name, $project, $dbForProject, $hooks);