diff --git a/.github/workflows/node-tests.yml b/.github/workflows/node-tests.yml index 8a544b6898b6a..03ab2ba3764ab 100644 --- a/.github/workflows/node-tests.yml +++ b/.github/workflows/node-tests.yml @@ -51,7 +51,7 @@ jobs: run: npm run test jsunit: - runs-on: ubuntu-latest + runs-on: [ubuntu-latest, self-hosted] needs: versions steps: diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php index 958bbf97acf8d..7acfa566fb161 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -635,7 +635,7 @@ public function tryBasicAuthLogin(IRequest $request, throw new LoginException(); } catch (PasswordLoginForbiddenException $ex) { // If credentials were provided, they need to be valid, otherwise we do boom - throw new LoginException(previous: $ex); + throw new LoginException('', 0, $ex); } } return false;