archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: svn commit: r447983 - /maven/archiva/trunk/archiva-webapp/src/main/resources/xwork.xml
Date Tue, 19 Sep 2006 23:18:10 GMT
Shouldn't the registration action actually log you in without  
prompting, then redirect to browse?

On 20/09/2006, at 7:43 AM, jmcconnell@apache.org wrote:

> Author: jmcconnell
> Date: Tue Sep 19 14:43:10 2006
> New Revision: 447983
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=447983
> Log:
> fix the redirect on registration to go to the login page as opposed  
> to the browse page
>
> Modified:
>     maven/archiva/trunk/archiva-webapp/src/main/resources/xwork.xml
>
> Modified: maven/archiva/trunk/archiva-webapp/src/main/resources/ 
> xwork.xml
> URL: http://svn.apache.org/viewvc/maven/archiva/trunk/archiva- 
> webapp/src/main/resources/xwork.xml? 
> view=diff&rev=447983&r1=447982&r2=447983
> ====================================================================== 
> ========
> --- maven/archiva/trunk/archiva-webapp/src/main/resources/xwork.xml  
> (original)
> +++ maven/archiva/trunk/archiva-webapp/src/main/resources/xwork.xml  
> Tue Sep 19 14:43:10 2006
> @@ -64,8 +64,14 @@
>        <result name="security-login-success" type="redirect- 
> action">browse</result>
>        <result name="security-login-cancel" type="redirect- 
> action">browse</result>
>        <result name="security-logout" type="redirect- 
> action">browse</result>
> -      <result name="security-register-success" type="redirect- 
> action">browse</result>
> -      <result name="security-register-cancel" type="redirect- 
> action">browse</result>
> +      <result name="security-register-success" type="redirect- 
> action">
> +        <param name="actionName">login</param>
> +        <param name="namespace">/security</param>
> +      </result>
> +      <result name="security-register-cancel" type="redirect-action">
> +        <param name="actionName">login</param>
> +        <param name="namespace">/security</param>
> +      </result>
>        <result name="security-account-success" type="redirect- 
> action">browse</result>
>        <result name="security-account-cancel" type="redirect- 
> action">browse</result>
>
>

Mime
View raw message