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

Basic Auth example #27

Merged
merged 3 commits into from Apr 5, 2014
Merged

Basic Auth example #27

merged 3 commits into from Apr 5, 2014

Conversation

marcusoftnet
Copy link
Contributor

This middleware is something that I think many people can use. I think it should go into the main examples repository.

I just ripped the code from https://github.com/koajs/basic-auth (and removed some tests that felt a bit ... internal).


describe('Koa Basic Auth', function(){

describe('with no credentials', function(){
Copy link
Member

Choose a reason for hiding this comment

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

just test app.js

@marcusoftnet
Copy link
Contributor Author

Great comments. Sloppy by me, but it's now updated and even better :)

dead-horse added a commit that referenced this pull request Apr 5, 2014
@dead-horse dead-horse merged commit 679f75d into koajs:master Apr 5, 2014
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.

None yet

2 participants