Skip to content
New issue

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

Support unauthenticated user (null auth payload) for CLI. Fixes #12. #28

Merged
merged 2 commits into from
May 11, 2016

Conversation

jbearer
Copy link
Contributor

@jbearer jbearer commented May 6, 2016

Pretty small change but it seems to be working now.

@@ -16,7 +16,10 @@ function TestJig(rules, testData) {

TestJig.prototype._lookupAuth = function(auth) {

if (typeof auth === 'string') {
if (this.users[auth] == null) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

convention for this repo is to use === for all comparison; can you please change this?

@goldibex
Copy link
Owner

with that one change I'll merge and roll a new release

@jbearer
Copy link
Contributor Author

jbearer commented May 11, 2016

Sorry about that, I'm new to JS. Fixed now.

@goldibex goldibex merged commit 4178480 into goldibex:master May 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants