Permalink
Browse files

Display errors on the login page instead of index

  • Loading branch information...
1 parent 7a68681 commit 8c15b5b83ef3b0dfac8c604349592e8f752bd0af @j3ffb j3ffb committed Apr 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/src/main/scala/shiro/sitemap/locs.scala
@@ -27,7 +27,7 @@ object Locs {
def RedirectToIndexURL = RedirectResponse(indexURL)
private def DisplayError(message: String) = () =>
- RedirectWithState(indexURL, RedirectState(() => S.error(message)))
+ RedirectWithState(loginURL, RedirectState(() => S.error(message)))
def RequireAuthentication = If(
() => isAuthenticated,

0 comments on commit 8c15b5b

Please sign in to comment.