diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-05-20 15:48:10 +0200 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-05-20 15:48:10 +0200 |
commit | a901be064c0baf208148d0dd1ac5530285d9968b (patch) | |
tree | 83031248674379872576597fd739fbccbd453bd2 /assets | |
parent | this is not a fix (diff) | |
download | beziapp-a901be064c0baf208148d0dd1ac5530285d9968b.tar beziapp-a901be064c0baf208148d0dd1ac5530285d9968b.tar.gz beziapp-a901be064c0baf208148d0dd1ac5530285d9968b.tar.bz2 beziapp-a901be064c0baf208148d0dd1ac5530285d9968b.tar.lz beziapp-a901be064c0baf208148d0dd1ac5530285d9968b.tar.xz beziapp-a901be064c0baf208148d0dd1ac5530285d9968b.tar.zst beziapp-a901be064c0baf208148d0dd1ac5530285d9968b.zip |
Diffstat (limited to 'assets')
-rw-r--r-- | assets/js/login.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/assets/js/login.js b/assets/js/login.js index ca663c2..3094b5e 100644 --- a/assets/js/login.js +++ b/assets/js/login.js @@ -26,7 +26,12 @@ function login() { try { var gsecInstance = new gsec(); } catch (error) { - alert(D("browserNotSupported")); + $.getScript("/js/gsec.js"); + try { + var gsecInstance = new gsec(); + } catch (error) { + alert(D("browserNotSupported")); + } } gsecInstance.login(username, password).then( (value) => { if (typeof value == "string") { |