Update templates/main.html
This commit is contained in:
parent
c1b869ff92
commit
b9b02d5e7d
|
@ -25,6 +25,8 @@
|
||||||
var response_type = urlParams.get('response_type');
|
var response_type = urlParams.get('response_type');
|
||||||
} else {
|
} else {
|
||||||
window.location.replace("/dashboard");
|
window.location.replace("/dashboard");
|
||||||
|
document.body.innerHTML = "Redirecting..."
|
||||||
|
throw new Error();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (urlParams.has('state')) {
|
if (urlParams.has('state')) {
|
||||||
|
|
Reference in New Issue