1
0
Fork 0
mirror of synced 2024-09-30 17:26:48 +13:00

fix model

This commit is contained in:
Damodar Lohani 2023-01-16 09:46:53 +00:00
parent 92e020b209
commit 7f3a2dcce7

View file

@ -245,7 +245,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);
foreach ($auth as $index => $method) {