web: don't navigate on siteshell failure
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
ef58020fd4
commit
8cadee28c1
|
@ -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}`),
|
||||||
|
|
Reference in New Issue