summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-05-14 11:23:01 +0200
committerrstular <rok@stular.eu>2020-05-14 11:23:01 +0200
commit06885cbdb7098c547989731798652c728e99d937 (patch)
tree8ad33f4fa49c4dd386b3f49f50a2fa3f0b55560b /js
parentBug fix ("|" isn't valid in a selector) (diff)
parent:-) (diff)
downloadbeziapp-06885cbdb7098c547989731798652c728e99d937.tar
beziapp-06885cbdb7098c547989731798652c728e99d937.tar.gz
beziapp-06885cbdb7098c547989731798652c728e99d937.tar.bz2
beziapp-06885cbdb7098c547989731798652c728e99d937.tar.lz
beziapp-06885cbdb7098c547989731798652c728e99d937.tar.xz
beziapp-06885cbdb7098c547989731798652c728e99d937.tar.zst
beziapp-06885cbdb7098c547989731798652c728e99d937.zip
Diffstat (limited to 'js')
-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..5b426f0 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
+}