summaryrefslogtreecommitdiffstats
path: root/js/logout.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/logout.js')
-rw-r--r--js/logout.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/logout.js b/js/logout.js
new file mode 100644
index 0000000..8d2df62
--- /dev/null
+++ b/js/logout.js
@@ -0,0 +1,3 @@
+localforage.clear().then(() => {
+ window.location.replace("/index.html");
+}); \ No newline at end of file