diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-05-20 15:57:40 +0200 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-05-20 15:57:40 +0200 |
commit | a078f237a622d6aa01e07199769e427217d79d1c (patch) | |
tree | 5858340a8081e7207117acad66e7639e28d221e6 /assets/js/login.js | |
parent | this is also not a fix (diff) | |
download | beziapp-a078f237a622d6aa01e07199769e427217d79d1c.tar beziapp-a078f237a622d6aa01e07199769e427217d79d1c.tar.gz beziapp-a078f237a622d6aa01e07199769e427217d79d1c.tar.bz2 beziapp-a078f237a622d6aa01e07199769e427217d79d1c.tar.lz beziapp-a078f237a622d6aa01e07199769e427217d79d1c.tar.xz beziapp-a078f237a622d6aa01e07199769e427217d79d1c.tar.zst beziapp-a078f237a622d6aa01e07199769e427217d79d1c.zip |
Diffstat (limited to 'assets/js/login.js')
-rw-r--r-- | assets/js/login.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/assets/js/login.js b/assets/js/login.js index 3094b5e..fe56c53 100644 --- a/assets/js/login.js +++ b/assets/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")); } |