diff --git a/src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/index.html b/src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/index.html index 0ad10d1ec..d3d4a9148 100644 --- a/src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/index.html +++ b/src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/index.html @@ -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"); }