Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Put a better title in the user's page if only an OpenID is present

  • Loading branch information...
commit 9f98be45642b5d64ff5c2829103b9ac22a784a2f 1 parent a03a6d9
@chrismgray authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/foreclojure/users.clj
View
2  src/foreclojure/users.clj
@@ -189,7 +189,7 @@
(filter ids (get-solved username)))))
(def-page user-profile [username]
- (let [page-title (str "User: " username)
+ (let [page-title (str "User: " (if (string? username) username (:openid username)))
{user-id :_id email :email} (get-user username)]
{:title page-title
:content
Please sign in to comment.
Something went wrong with that request. Please try again.