Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove dead `credential-fn` code

  • Loading branch information...
commit 717438fde0d2ec362ea1243565432b56d1fc7724 1 parent 2dc22f7
@rbxbx rbxbx authored committed
Showing with 0 additions and 6 deletions.
  1. +0 −6 test/test_friend/mock_app.clj
View
6 test/test_friend/mock_app.clj
@@ -106,12 +106,6 @@
:password (creds/hash-bcrypt "api-pass")
:roles #{:api}}})
-(defn- credential-fn
- [users {:keys [username password]}]
- (let [user (users username)]
- (when (and user (= password (:password user)))
- (assoc user :identity username))))
-
(def mock-app
(-> mock-app*
(friend/authenticate
Please sign in to comment.
Something went wrong with that request. Please try again.