summaryrefslogtreecommitdiffstats
path: root/assets/js/login.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/login.js')
-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") {