From abde948b43d8145762e77ecdcfc8a7a8331aa757 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Mon, 26 Dec 2022 06:03:43 +0000 Subject: [PATCH] fix typo --- app/controllers/api/projects.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index cfe4a66acc..f23518d739 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -630,7 +630,7 @@ App::patch('/v1/projects/:projectId/auth/password-dictionary') } $auths = $project->getAttribute('auths', []); - $auths['passwordDisctionary'] = (bool) filter_var($enabled, FILTER_VALIDATE_BOOLEAN); + $auths['passwordDictionary'] = (bool) filter_var($enabled, FILTER_VALIDATE_BOOLEAN); $dbForConsole->updateDocument('projects', $project->getId(), $project ->setAttribute('auths', $auths));