burgernotes-client-web/logout/index.html

28 lines
720 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Burgernotes</title>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script>
if (origin !== "null") {
// Get the current URL
var currentUrl = window.location.href;
// Remove '/index.html' from the current URL
var newUrl = currentUrl.replace('/index.html', '');
// Redirect to the new URL
window.location.href = newUrl;
}
</script>
<head>
Logging out..
<script>
localStorage.removeItem("DONOTSHARE-secretkey")
localStorage.removeItem("DONOTSHARE-password")
localStorage.removeItem("CACHE-username")
window.location.replace("../login/index.html")
</script>