web: don't navigate on siteshell failure

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-03-17 22:23:35 +01:00
parent ef58020fd4
commit 8cadee28c1

View file

@ -67,7 +67,6 @@ export class SiteShell extends LitElement {
return response; return response;
} }
console.debug(`authentik/site-shell: Request failed ${this._url}`); console.debug(`authentik/site-shell: Request failed ${this._url}`);
window.location.hash = "#/";
showMessage({ showMessage({
level_tag: "error", level_tag: "error",
message: gettext(`Request failed: ${response.statusText}`), message: gettext(`Request failed: ${response.statusText}`),