1
0
Fork 0
mirror of synced 2024-10-03 19:53:33 +13:00
This commit is contained in:
Damodar Lohani 2022-12-26 06:03:43 +00:00
parent 44082a92f7
commit abde948b43

View file

@ -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));