summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-20 15:48:10 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-20 15:48:10 +0200
commita901be064c0baf208148d0dd1ac5530285d9968b (patch)
tree83031248674379872576597fd739fbccbd453bd2 /assets
parentthis is not a fix (diff)
downloadbeziapp-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.js7
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") {