summaryrefslogtreecommitdiffstats
path: root/dist/js/login.js
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-20 15:57:59 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-20 15:57:59 +0200
commitc66b002ff05daa130a86c26f0b42af3202ce06ba (patch)
treee65af2ba6c97fe616dcf10e589c4a2c4cfd2c0d3 /dist/js/login.js
parentscope error? (diff)
downloadbeziapp-c66b002ff05daa130a86c26f0b42af3202ce06ba.tar
beziapp-c66b002ff05daa130a86c26f0b42af3202ce06ba.tar.gz
beziapp-c66b002ff05daa130a86c26f0b42af3202ce06ba.tar.bz2
beziapp-c66b002ff05daa130a86c26f0b42af3202ce06ba.tar.lz
beziapp-c66b002ff05daa130a86c26f0b42af3202ce06ba.tar.xz
beziapp-c66b002ff05daa130a86c26f0b42af3202ce06ba.tar.zst
beziapp-c66b002ff05daa130a86c26f0b42af3202ce06ba.zip
Diffstat (limited to 'dist/js/login.js')
-rw-r--r--dist/js/login.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/dist/js/login.js b/dist/js/login.js
index 3094b5e..fe56c53 100644
--- a/dist/js/login.js
+++ b/dist/js/login.js
@@ -23,12 +23,13 @@ function setupEventListeners() {
function login() {
let username = $("#username").val();
let password = $("#password").val();
+ var gsecInstance;
try {
- var gsecInstance = new gsec();
+ gsecInstance = new gsec();
} catch (error) {
$.getScript("/js/gsec.js");
try {
- var gsecInstance = new gsec();
+ gsecInstance = new gsec();
} catch (error) {
alert(D("browserNotSupported"));
}