swizzin_dashboard/templates/logout.html
liaralabs 46d801d0af
Fancify the login (#11)
* Add login page

* Update

* Update imports

* It's alive?

* Update templates

* Fix render template
2020-05-28 18:15:48 -07:00

11 lines
No EOL
294 B
HTML

<div>You have been logged out.</div>
<script>
var XMHR = new XMLHttpRequest();
XMHR.open("GET", "{{ url_for('auth') }}", false, "no user", "no password");
XMHR.send();
setTimeout(function () {
window.location.href = "{{ url_for('index') }}";
}, 500);
</script>