Error Message
Last updated
Last updated
When a failed login occurs from Captive Portal, the user will be redirected to the splash page again with 2 additional query parameters res and reason to indicate the error. The https request to the splash page could be like this:
These 2 parameters can be used for displaying error message on splash page. The usage is depicted in the following table:
Parameters | Description |
---|---|
The following JavaScript code illustrates how to display error message in splash page.
res=failed&reason=reject
Invalid username or password.
res=failed&reason=timeout
No response from authentication server.
res=failed&reason=mtu
Abnormal network error.
res=failed&reason=other
Other errors.