Skip to content

Commit

Permalink
login tries wurde nicht zurückgesetzt.
Browse files Browse the repository at this point in the history
  • Loading branch information
dergel committed Mar 8, 2024
1 parent 01b20a8 commit 732c232
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/auth/lib/ycom_auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ public static function login(array $params): int
|| ('' != $params['loginPassword'] && self::checkPassword($params['loginPassword'], $loginUser->getId()))
) {
$me = $loginUser;
$me->setValue('last_login_time', rex_sql::datetime(time()));
$me
->setValue('last_login_time', rex_sql::datetime(time()))
->setValue('login_tries', 0);
$me = rex_extension::registerPoint(new rex_extension_point('YCOM_AUTH_LOGIN_SUCCESS', $me, []));

// session fixation
Expand Down

0 comments on commit 732c232

Please sign in to comment.