Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
rhbz1059483 - Correct redirections in pages.xml to new profile page.
Browse files Browse the repository at this point in the history
Some of the redirections where causing the old page to be shown, which required an existing account to be present.
  • Loading branch information
Carlos A. Munoz committed Jan 30, 2014
1 parent c6761bb commit d05a47b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zanata-war/src/main/webapp/WEB-INF/pages.xml
Expand Up @@ -76,7 +76,7 @@
<redirect view-id="/account/login.xhtml" />
</rule>
<rule if-outcome="edit">
<redirect view-id="/profile/edit.xhtml" />
<redirect view-id="/profile/create_user.xhtml" />
</rule>
<rule if-outcome="inactive">
<redirect view-id="/account/inactive_account.xhtml" />
Expand Down Expand Up @@ -110,7 +110,7 @@
<navigation from-action="#{loginAction.login}">
<rule
if="#{authenticationManager.authenticated and authenticationManager.newUser}">
<redirect view-id="/profile/edit.xhtml" />
<redirect view-id="/profile/create_user.xhtml" />
</rule>
<rule if-outcome="inactive">
<begin-conversation />
Expand Down Expand Up @@ -465,7 +465,7 @@
<redirect view-id="/home.xhtml" />
</navigation>
<navigation from-action="#{newProfileAction.cancel}">
<redirect view-id="/account/register.xhtml" />
<redirect view-id="/home.xhtml" />
</navigation>
</page>

Expand Down

0 comments on commit d05a47b

Please sign in to comment.