summaryrefslogtreecommitdiffstats
path: root/js/about.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/about.js')
-rw-r--r--js/about.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/about.js b/js/about.js
index 8dd55ab..7056b06 100644
--- a/js/about.js
+++ b/js/about.js
@@ -1,3 +1,6 @@
+/**
+ * Redirects user to login page if it's not logged int
+ */
async function checkLogin() {
localforage.getItem("logged_in").then(function (value) {
// This code runs once the value has been loaded