Permalink
Browse files

Merge pull request #12 from j3ffb/master

Display Error messages on the Login page
  • Loading branch information...
timperrett committed Apr 24, 2012
2 parents 7a68681 + 8c15b5b commit 8f69e4241457da9547ed87820daf1d00e9345732
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 8f69e42

Please sign in to comment.