mirror of
https://github.com/davidallendj/opaal.git
synced 2025-12-20 03:27:02 -07:00
Change the login page
This commit is contained in:
parent
4bfadc57bc
commit
6c0d402f97
1 changed files with 3 additions and 13 deletions
|
|
@ -1,16 +1,6 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
Redirecting you to sign-in page...
|
Welcome to Opaal's default login in page! Click the link below to log in with your identity provider:
|
||||||
<script>
|
|
||||||
function _sleep(ms) {
|
<aref src="{{loginUrl}}">Login</aref>
|
||||||
return new Promise(resolve => setTimeout(resolve, ms));
|
|
||||||
}
|
|
||||||
async function sleep(s) {
|
|
||||||
for (let i = 0; i < 5; i++) {
|
|
||||||
await sleep(i * 1000)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
sleep(5000)
|
|
||||||
window.location.replace("{{loginUrl}}")
|
|
||||||
</script>
|
|
||||||
</html>
|
</html>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue