summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/site.clj3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/site.clj b/src/site.clj
index 65890ef..b5c7ade 100755
--- a/src/site.clj
+++ b/src/site.clj
@@ -132,6 +132,7 @@
@(room :messages)))))
(defn process-user [u]
+ (prn u)
(if (u :avatar)
{"nick" (u :nick)
"avatar" (encode-html-entities (u :avatar))}
@@ -217,7 +218,7 @@
(defn login [session params]
(let [nick (params :nick)
hash (params :hash)
- db-user (authorize-nick-hash nick hash)]
+ db-user (authorize-nick-hash nick hash)]
(if db-user
[(populate-session-from-db db-user)
(resp-success "OK")]