summaryrefslogtreecommitdiff
path: root/js/auth.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/auth.js')
-rw-r--r--js/auth.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/auth.js b/js/auth.js
index 6528957..29dde31 100644
--- a/js/auth.js
+++ b/js/auth.js
@@ -15,7 +15,7 @@ function auth_loginSuccess(data) {
$('#loginbox').slideUp();
$('#mainwindow').fadeIn();
} else {
- alertbox.error("Fehler beim Login", data.errorstring);
+ alertbox.error('loginbox', "Fehler beim Login", data.errorstring);
auth_cleanup();
}
}
@@ -25,7 +25,7 @@ function auth_loginError(req, status, error) {
if(req.status == 401) {
message = "Benutzer und/oder Passwort sind falsch!";
}
- alertbox.error("Fehler beim Login", message);
+ alertbox.error('loginbox', "Fehler beim Login", message);
$("#password").val('');
}