forked from rwth-acis/OCD-Web-Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogout.html
36 lines (36 loc) · 1.32 KB
/
logout.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html>
<!-- Logout page -->
<head>
<title>OCD - Logout</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="CSS/layout.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="JS/contentHandler.js"></script>
<script type="text/javascript">
/* Clear session scope */
sessionStorage.clear();
//
localStorage.removeItem("redirect_relogin");
localStorage.removeItem("access_token");
localStorage.removeItem("user");
localStorage.removeItem("pass");
localStorage.removeItem("nonce");
localStorage.removeItem("arangoUser@WebOCD");
localStorage.removeItem("arangoPass@WebOCD");
localStorage.removeItem("arangoDataBase@WebOCD");
localStorage.removeItem("arangoCollection@WebOCD");
/* Redirect to login page */
window.location.replace("login.html");
</script>
</head>
<body>
<div id="wrapper">
<div id="contentWrapper">
<div id="content">
</div>
</div>
</div>
</body>
</html>