Skip to content

Commit

Permalink
Merge pull request #12 from j3ffb/master
Browse files Browse the repository at this point in the history
Display Error messages on the Login page
  • Loading branch information
timperrett committed Apr 24, 2012
2 parents 7a68681 + 8c15b5b commit 8f69e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/main/scala/shiro/sitemap/locs.scala
Expand Up @@ -27,7 +27,7 @@ object Locs {
def RedirectToIndexURL = RedirectResponse(indexURL) def RedirectToIndexURL = RedirectResponse(indexURL)


private def DisplayError(message: String) = () => private def DisplayError(message: String) = () =>
RedirectWithState(indexURL, RedirectState(() => S.error(message))) RedirectWithState(loginURL, RedirectState(() => S.error(message)))


def RequireAuthentication = If( def RequireAuthentication = If(
() => isAuthenticated, () => isAuthenticated,
Expand Down

0 comments on commit 8f69e42

Please sign in to comment.