Skip to content

Commit

Permalink
Incorrect redirect for example on failed admin
Browse files Browse the repository at this point in the history
  • Loading branch information
mjrussell committed Feb 3, 2016
1 parent 6be9554 commit a0f88ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/basic/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const UserIsAuthenticated = UserAuthWrapper({
})
const UserIsAdmin = UserAuthWrapper({
authSelector: state => state.user,
failureRedirectPath: '/app',
failureRedirectPath: '/',
wrapperDisplayName: 'UserIsAdmin',
predicate: user => user.isAdmin,
allowRedirectBack: false
Expand Down

0 comments on commit a0f88ee

Please sign in to comment.