25 lines
742 B
Plaintext
25 lines
742 B
Plaintext
<%- include('top') %>
|
|
<script type="text/javascript">
|
|
|
|
// Server-provided, validated redirect target ('/' when none supplied).
|
|
var logoutTarget = <%- JSON.stringify(target) %>;
|
|
|
|
$(document).ready(function(){
|
|
// Clear the SSO browser session, then return to the requesting app.
|
|
try { localStorage.removeItem('APIToken'); } catch(e){}
|
|
window.location.replace(logoutTarget);
|
|
});
|
|
|
|
</script>
|
|
<div class="row" style="display:none">
|
|
<div class="col-md-4 offset-md-4">
|
|
<div class="card shadow-lg">
|
|
<div class="card-body text-center">
|
|
<h5><i class="fa-solid fa-right-from-bracket"></i> Signing out…</h5>
|
|
<p class="text-muted mb-0">You are being redirected.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<%- include('bottom') %>
|