Skip to content

Commit 31ef373

Browse files
committed
chore: Adapt syntax for PHP<8
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent aed46dd commit 31ef373

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/User/Session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ public function logClientIn($user,
444444
// Refuse session tokens here, only app tokens are handled
445445
return false;
446446
}
447-
} catch (ExpiredTokenException) {
447+
} catch (ExpiredTokenException $e) {
448448
// Just return on an expired token no need to check further or record a failed login
449449
return false;
450450
}

0 commit comments

Comments
 (0)