summaryrefslogtreecommitdiffstats
path: root/js/about.js
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-05-16 20:08:05 +0200
committerrstular <rok@stular.eu>2020-05-16 20:08:33 +0200
commit9d88acff4d715cdc6b44c8955049bb0289fb17f7 (patch)
treeb7b2c5c14098c52e52e3cd334362d98f4491ecae /js/about.js
parentBug fix - handling afternoon lessons (diff)
downloadbeziapp-9d88acff4d715cdc6b44c8955049bb0289fb17f7.tar
beziapp-9d88acff4d715cdc6b44c8955049bb0289fb17f7.tar.gz
beziapp-9d88acff4d715cdc6b44c8955049bb0289fb17f7.tar.bz2
beziapp-9d88acff4d715cdc6b44c8955049bb0289fb17f7.tar.lz
beziapp-9d88acff4d715cdc6b44c8955049bb0289fb17f7.tar.xz
beziapp-9d88acff4d715cdc6b44c8955049bb0289fb17f7.tar.zst
beziapp-9d88acff4d715cdc6b44c8955049bb0289fb17f7.zip
Diffstat (limited to '')
-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