Disable welcome page if the new features are enabled (#86)
* Disable welcome page if frontend injection is enabled * Make button indicate redirecting
This commit is contained in:
committed by
GitHub
parent
27de2bcf71
commit
0888ea0400
@@ -133,6 +133,8 @@ function update() {
|
||||
ssoButton.style.marginRight = "1em"
|
||||
ssoButton.addEventListener("click", () => {
|
||||
location.href = "/auth/oidc/redirect"
|
||||
ssoButton.innerHTML = "Redirecting, please wait..."
|
||||
ssoButton.disabled = true
|
||||
})
|
||||
loginButton.parentElement.prepend(ssoButton)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user