Skip to content

Commit

Permalink
user should be stored in redis as well
Browse files Browse the repository at this point in the history
  • Loading branch information
pelle committed Apr 16, 2012
1 parent 60bf83b commit 7050823
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/clauth/demo.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[clauth.endpoints]
[clauth.client]
[clauth.token]
[clauth.user]
[clauth.store.redis]
[ring.adapter.jetty]
[ring.middleware.cookies]
Expand Down Expand Up @@ -85,6 +86,7 @@

(reset! token-store (create-redis-store "tokens"))
(reset! client-store (create-redis-store "clients"))
(reset! user-store (create-redis-store "users"))
(redis/with-server
{:host "127.0.0.1"
:port 6379
Expand Down

0 comments on commit 7050823

Please sign in to comment.