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

Switch from flask.ext.login to flask_login #946

Closed
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@EdwardBetts
Contributor

EdwardBetts commented Jul 13, 2016

Importing flask.ext.login is deprecated, use flask_login instead.

See pallets/flask#1135 for details.

EdwardBetts added some commits Jul 13, 2016

Switch from flask.ext.login to flask_login
Importing flask.ext.login is deprecated, use flask_login instead.
Avoid passing bytes to string format in header
Using Python 3, we need to pass a str to format, not bytes. Otherwise
we end up with an Authorization that looks like:

Authorization: Basic b'Zm9vOmJhcg=='
@EdwardBetts

This comment has been minimized.

Show comment
Hide comment
@EdwardBetts

EdwardBetts Jul 13, 2016

Contributor

I've found more occurrences of flask.ext.login and submitted a new pull request: #951.

Contributor

EdwardBetts commented Jul 13, 2016

I've found more occurrences of flask.ext.login and submitted a new pull request: #951.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment