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

Commit

Permalink
Redirect logged in user to dashboard when trying to access account/re…
Browse files Browse the repository at this point in the history
…gister
  • Loading branch information
Alex Eng committed Sep 25, 2013
1 parent 7616058 commit fe4ab60
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zanata-war/src/main/webapp/WEB-INF/pages.xml
Expand Up @@ -147,6 +147,11 @@
<page view-id="/account/register.xhtml">
<action execute="#{breadcrumbs.clear}"/>
<action execute="#{breadcrumbs.addLocation('', messages['jsf.Register'])}"/>
<navigation>
<rule if="#{identity.loggedIn}">
<redirect view-id="/dashboard/home.xhtml" />
</rule>
</navigation>
</page>

<page view-id="/account/inactive_account.xhtml">
Expand Down

0 comments on commit fe4ab60

Please sign in to comment.