summaryrefslogtreecommitdiffstats
path: root/dist/js/login.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/js/login.js')
-rw-r--r--dist/js/login.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/dist/js/login.js b/dist/js/login.js
index ca663c2..3094b5e 100644
--- a/dist/js/login.js
+++ b/dist/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") {