Skip to content

Commit 54fc2ca

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

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
@@ -454,7 +454,7 @@ public function logClientIn($user,
454454
// Refuse session tokens here, only app tokens are handled
455455
return false;
456456
}
457-
} catch (ExpiredTokenException) {
457+
} catch (ExpiredTokenException $e) {
458458
// Just return on an expired token no need to check further or record a failed login
459459
return false;
460460
}

0 commit comments

Comments
 (0)