]> source.dussan.org Git - archiva.git/commitdiff
fix the redirect on registration to go to the login page as opposed to the browse...
authorJesse McConnell <jmcconnell@apache.org>
Tue, 19 Sep 2006 21:43:10 +0000 (21:43 +0000)
committerJesse McConnell <jmcconnell@apache.org>
Tue, 19 Sep 2006 21:43:10 +0000 (21:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@447983 13f79535-47bb-0310-9956-ffa450edef68

archiva-webapp/src/main/resources/xwork.xml

index 1f2703e7d6d4346a9ccd165f3c0f0d665a815cd0..ad1c2e344717d280296d7702262194f26e081334 100644 (file)
       <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>