mirror of https://github.com/apache/archiva.git
[MRM-1168]
submitted by Jevica Arianne Zurbano o add info message for account locked git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@781339 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b8578cfac9
commit
03eab14b77
|
@ -125,6 +125,8 @@ public class SearchAction
|
|||
|
||||
private Map<String, String> searchFields;
|
||||
|
||||
private String infoMessage;
|
||||
|
||||
public boolean isFromResultsPage()
|
||||
{
|
||||
return fromResultsPage;
|
||||
|
@ -659,4 +661,14 @@ public class SearchAction
|
|||
{
|
||||
this.searchFields = searchFields;
|
||||
}
|
||||
|
||||
public String getInfoMessage()
|
||||
{
|
||||
return infoMessage;
|
||||
}
|
||||
|
||||
public void setInfoMessage( String infoMessage )
|
||||
{
|
||||
this.infoMessage = infoMessage;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -82,8 +82,8 @@
|
|||
<result name="security-login-success" type="redirect-action">index</result>
|
||||
<result name="security-login-cancel" type="redirect-action">index</result>
|
||||
<result name="security-login-locked" type="redirect-action">
|
||||
<param name="infoMessage">Account Locked</param>
|
||||
<param name="actionName">index</param>
|
||||
<param name="infoMessage">Account Locked</param>
|
||||
</result>
|
||||
<result name="security-logout" type="redirect-action">index</result>
|
||||
<result name="requires-authentication" type="redirect-action">
|
||||
|
|
Loading…
Reference in New Issue