Skip to content

Commit cdf9bf5

Browse files
committed
chore: Fix PHP 7.3 support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent 6d8b2ca commit cdf9bf5

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
@@ -635,7 +635,7 @@ public function tryBasicAuthLogin(IRequest $request,
635635
throw new LoginException();
636636
} catch (PasswordLoginForbiddenException $ex) {
637637
// If credentials were provided, they need to be valid, otherwise we do boom
638-
throw new LoginException(previous: $ex);
638+
throw new LoginException('', 0, $ex);
639639
}
640640
}
641641
return false;

0 commit comments

Comments
 (0)