From 03c31498f7ab3e8ff8d0978e96b7f31d8a6f549a Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 6 Oct 2015 20:27:57 +0000 Subject: [PATCH] (captiveportal, new) work in progress --- .../scripts/OPNsense/CaptivePortal/htdocs_default/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); }