Skip to content

Commit

Permalink
Merge pull request #14 from mmazi/feature/login-navigation
Browse files Browse the repository at this point in the history
Added navigation rule for failed login (SEAM-71)
  • Loading branch information
sbryzak committed Oct 27, 2011
2 parents a737567 + 59295e2 commit 625ccbb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions booking/src/main/webapp/WEB-INF/faces-config.xml
Expand Up @@ -35,6 +35,12 @@
<redirect/>
</navigation-case>

<navigation-case>
<from-action>#{identity.login}</from-action>
<from-outcome>failed</from-outcome>
<to-view-id>/home.xhtml</to-view-id>
</navigation-case>

</navigation-rule>

<navigation-rule>
Expand Down

0 comments on commit 625ccbb

Please sign in to comment.