mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
(captiveportal, new) work in progress
This commit is contained in:
parent
4deca554ad
commit
03c31498f7
@ -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");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user