This commit is contained in:
Yuri Kuznetsov
2024-06-29 13:04:48 +03:00
parent 9235a3cf79
commit bbd071221a

View File

@@ -354,7 +354,7 @@ class ClientManager
$account->getExpiresAt() &&
$account->getExpiresAt()
->modify('+' . self::REFRESH_TOKEN_ATTEMPTS_PERIOD)
->isGreaterThan(DateTime::createNow())
->isLessThan(DateTime::createNow())
) {
$account->setIsEnabled(false);
$account->unsetData();