Skip to content

Commit

Permalink
default the hash abstraction function
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Ferrier authored and Nicholas Ferrier committed Apr 23, 2014
1 parent 09f6750 commit 36e6ca2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion elnode.el
Expand Up @@ -3175,7 +3175,8 @@ different function can implement different hashing algorithms.
AUTH-TEST is passed a username and must return a token.
AUTH-TEST can be used to change the hashed token lookup to find
the token in a particular database."
(let ((token (funcall make-hash username password)))
(let ((token (funcall (or make-hash 'elnode-auth-make-hash)
username password)))
(equal token (funcall auth-test username))))


Expand Down

0 comments on commit 36e6ca2

Please sign in to comment.