summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton L. Šijanec <sijanecantonluka@gmail.com>2020-05-14 11:06:34 +0200
committerAnton L. Šijanec <sijanecantonluka@gmail.com>2020-05-14 11:06:34 +0200
commit67056deaf5938922e93407ab7bb272799f6a5022 (patch)
tree79c40a5de64c6d4f3403852131e07c0c0583fc4b
parentBug fix (diff)
downloadbeziapp-67056deaf5938922e93407ab7bb272799f6a5022.tar
beziapp-67056deaf5938922e93407ab7bb272799f6a5022.tar.gz
beziapp-67056deaf5938922e93407ab7bb272799f6a5022.tar.bz2
beziapp-67056deaf5938922e93407ab7bb272799f6a5022.tar.lz
beziapp-67056deaf5938922e93407ab7bb272799f6a5022.tar.xz
beziapp-67056deaf5938922e93407ab7bb272799f6a5022.tar.zst
beziapp-67056deaf5938922e93407ab7bb272799f6a5022.zip
-rw-r--r--js/gsec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/gsec.js b/js/gsec.js
index 3c3fdc5..664c15c 100644
--- a/js/gsec.js
+++ b/js/gsec.js
@@ -112,7 +112,7 @@ class gsec {
if (response.code === 302) {
resolve(true);
} else {
- if (!(parsed.getElementById("lblMsg"))) { // če obstaja lblMsg (napaka pri prijavi)
+ if ((parsed.getElementById("lblMsg"))) { // če obstaja lblMsg (napaka pri prijavi)
reject(new Error(GSEC_ERR_LOGIN));
} else if (!(parsed.getElementById("ctl00_lblLoginName"))) { // če ni ctl00_lblLoginName nismo na Default.aspx
reject(new Error(GSEC_ERR_LOGIN));
@@ -595,4 +595,4 @@ class gsec {
});
});
}
-} \ No newline at end of file
+}