summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-02-26 00:11:13 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-02-26 00:11:13 +0100
commit49ea14b5623bfd5a2fce1465df0be524ec47efc1 (patch)
treeef7e4178e895c2ca25a48dd16bbd5ea5cf4ff049
parentb85f4777c02d3b08aa38f6d71d6efa370023cf7f (diff)
Fix default authentication success message page.
-rw-r--r--src/mulk/benki/auth.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mulk/benki/auth.clj b/src/mulk/benki/auth.clj
index 07e3694..4c52305 100644
--- a/src/mulk/benki/auth.clj
+++ b/src/mulk/benki/auth.clj
@@ -47,7 +47,7 @@
(do (session/put! :user user-id)
(if-let [return-uri (session/flash-get)]
(redirect return-uri)
- (layout "Authenticated!" [:p "Welcome back, " (:first_name user) "!"])))
+ (layout {} "Authenticated!" [:p "Welcome back, " (:first_name user) "!"])))
(layout "Authentication Failed"
[:p "Did not recognize OpenID."]
[:p "Your OpenID is: " [:strong (.getIdentifier id)]]))))