mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
use argon 2 default
This commit is contained in:
parent
3cfb5d695f
commit
4679eff4b8
1 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue