1
0
Fork 0
mirror of synced 2024-08-04 13:01:45 +12:00

Merge branch 'feat-password-history' of https://github.com/appwrite/appwrite into feat-password-dictionary

This commit is contained in:
Damodar Lohani 2023-01-16 09:55:12 +00:00
commit 309d67066e

View file

@ -251,7 +251,7 @@ class Project extends Model
$document->setAttribute('authLimit', $authValues['limit'] ?? 0);
$document->setAttribute('authDuration', $authValues['duration'] ?? Auth::TOKEN_EXPIRATION_LOGIN_LONG);
$document->setAttribute('authSessionLimit', $authValues['maxSessions'] ?? APP_LIMIT_USER_SESSIONS_DEFAULT);
$document->setAttribute('authSessionsLimit', $authValues['maxSessions'] ?? APP_LIMIT_USER_SESSIONS_DEFAULT);
$document->setAttribute('authPasswordHistory', $authValues['passwordHistory'] ?? 0);
$document->setAttribute('authPasswordDictionary', $authValues['passwordDictionary'] ?? false);