fix: Update html template to use Shakestation auth
All checks were successful
Build Docker / Build Docker (push) Successful in 35s
All checks were successful
Build Docker / Build Docker (push) Successful in 35s
This commit is contained in:
@@ -201,8 +201,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript" src="https://auth.varo.domains/v1"></script>
|
<script type="text/javascript" src="https://auth.shakestation.io/v1"></script>
|
||||||
<script>var varo = new Varo();</script>
|
<script>var varo = new ShakeStation();</script>
|
||||||
<button class="loginbutton" onclick='varo.auth().then(auth => {
|
<button class="loginbutton" onclick='varo.auth().then(auth => {
|
||||||
if (auth.success) {
|
if (auth.success) {
|
||||||
// handle success by calling your api to update the users session
|
// handle success by calling your api to update the users session
|
||||||
@@ -210,7 +210,7 @@
|
|||||||
window.location.reload();
|
window.location.reload();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});'>Login with Varo</button>
|
});'>Login with ShakeStation</button>
|
||||||
|
|
||||||
|
|
||||||
<div class="login-option">
|
<div class="login-option">
|
||||||
@@ -317,7 +317,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<div style="position: fixed; bottom: 0; width: 100%; text-align: center; background-color: #333; padding: 10px;">
|
<div style="position: fixed; bottom: 0; width: 100%; text-align: center; background-color: #333; padding: 10px;">
|
||||||
Powered by <a href="https://auth.varo.domains/implement" target="_blank">Varo Auth</a>, <a href="https://hns.id/"
|
Powered by <a href="https://auth.shakestaion.io/implement" target="_blank">Shakestation Auth</a>, <a href="https://hns.id/"
|
||||||
target="_blank">HNS.ID</a> and <a href="https://nathan.woodburn.au" target="_blank">Nathan.Woodburn/</a>
|
target="_blank">HNS.ID</a> and <a href="https://nathan.woodburn.au" target="_blank">Nathan.Woodburn/</a>
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 5em;"></div>
|
<div style="height: 5em;"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user