We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the function req->token the single arity signature seems to be recursively calling itself https://github.com/pelle/clauth/blob/master/src/clauth/middleware.clj#L38.
req->token
I think this is supposed to be calling into the 2 arity version. eg:
(defn req->token ([req] (req->token req token/find-valid-token)) ([req finder] (if-let [token (req->token-string req)] (finder token))))
The text was updated successfully, but these errors were encountered:
Also, this line in the middleware test case is referencing a function name as a key which I think is probably a typo.
https://github.com/pelle/clauth/blob/master/test/clauth/test/middleware.clj#L296
Sorry, something went wrong.
No branches or pull requests
In the function
req->token
the single arity signature seems to be recursively calling itselfhttps://github.com/pelle/clauth/blob/master/src/clauth/middleware.clj#L38.
I think this is supposed to be calling into the 2 arity version. eg:
The text was updated successfully, but these errors were encountered: