Announcement Announcement Module
Collapse
No announcement yet.
"not empty param.login_error" not working Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • "not empty param.login_error" not working

    Hi Guy,

    For the login page if the user information is invalid it should pass the message into login page however the following code unable to work but when I try put the SPRING_SECURITY_LAST_EXCEPTION.message not under the not empty param.login_error it able to show, can anyone pin point me what happen or got something that I need configure?

    <c:if test="${not empty param.login_error}">
    <table align="center">
    <tr>
    <td><font color="red"> Your login attempt was not successful, please try again.</font></td>
    </tr>
    <tr>
    <td><font color="red">Reason: <c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}" />. </font></td>
    </tr>
    </table>
    </c:if>

  • #2
    not empty param.login_error this param is wrong the correct should be not empty param.error because this result is depend from the url

    please close this topic, thank you

    Comment

    Working...
    X