Skip to content

Switch from flask.ext.login to flask_login#946

Closed
EdwardBetts wants to merge 2 commits intoomab:masterfrom
EdwardBetts:master
Closed

Switch from flask.ext.login to flask_login#946
EdwardBetts wants to merge 2 commits intoomab:masterfrom
EdwardBetts:master

Conversation

@EdwardBetts
Copy link
Copy Markdown
Contributor

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

See pallets/flask#1135 for details.

Importing flask.ext.login is deprecated, use flask_login instead.
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
Copy link
Copy Markdown
Contributor Author

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant