(captiveportal, new) work in progress

This commit is contained in:
Ad Schellevis 2015-10-06 20:27:57 +00:00
parent 4deca554ad
commit 03c31498f7

View File

@ -50,7 +50,8 @@
if (data['clientState'] == 'AUTHORIZED') {
window.location = 'http://'+getURLparams()['redirurl']+'?refresh';
} else {
// todo implement alert for login failure
$("#inputUsername").val("");
$("#inputPassword").val("");
$("#errorMSGtext").html("authentication failed");
$("#alertMSG").removeClass("hidden");
}