From a901be064c0baf208148d0dd1ac5530285d9968b Mon Sep 17 00:00:00 2001 From: sijanec Date: Wed, 20 May 2020 15:48:10 +0200 Subject: this is also not a fix --- assets/js/login.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'assets/js') 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") { -- cgit v1.2.3