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

Create working demo #5

Merged
merged 8 commits into from
Aug 30, 2016
Merged

Create working demo #5

merged 8 commits into from
Aug 30, 2016

Conversation

bmwant
Copy link
Member

@bmwant bmwant commented Jul 26, 2016

Rationale

This pull request is about updating demo to make example working

Changes

  • Create working example demonstrating usage of this library
  • Write additional page with documentation for that
  • Fix tests and make them pass (requires this change in aiohttp client)

@@ -9,7 +9,6 @@
sa.Column('id', sa.Integer, nullable=False),
sa.Column('login', sa.String(256), nullable=False),
sa.Column('passwd', sa.String(256), nullable=False),
sa.Column('salt', sa.String(256), nullable=False),
Copy link
Member

Choose a reason for hiding this comment

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

I insist that password should be salted.
But I'm ok with storing the salt inside passwd field, http://pythonhosted.org/passlib/ is the best way to deal with passwords.
BTW where we do password check?

@bmwant
Copy link
Member Author

bmwant commented Aug 17, 2016

@asvetlov I've added check_credentials function and checking for the username/password combination on login with passlib

@asvetlov asvetlov merged commit 820dcc8 into aio-libs:master Aug 30, 2016
@asvetlov
Copy link
Member

Sorry, I was quite busy last weeks.

Thank you for your work!

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