Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Merged Two-factor auth #773

Closed
wants to merge 2 commits into from
Closed

Conversation

van-ess0
Copy link

Merged PR #522
Solves #496

* supporting two factor authentication:

* Support Mail, SMS, or Google Authenticator second factor authentication.

* Ability to change second factor authentication to existing users 

* Provide rescue mail in case of lost phone

* update docs with two factor authentication changes

* updating requirements, authors

* adding two_factor test

* improving tests coverage
@van-ess0 van-ess0 force-pushed the develop branch 10 times, most recently from 0c3503f to db1ba8d Compare April 19, 2018 09:32
…ne/flask-security into develop

# Conflicts:
#	.gitignore
#	AUTHORS
#	docs/configuration.rst
#	docs/features.rst
#	docs/index.rst
#	docs/models.rst
#	flask_security/core.py
#	flask_security/forms.py
#	flask_security/signals.py
#	flask_security/views.py
#	requirements.txt
#	tests/conftest.py
#	tests/utils.py
user_model_query = self.user_model.query
if hasattr(self.user_model, 'roles'):
from sqlalchemy.orm import joinedload
user_model_query = user_model_query.options(joinedload('roles'))
Copy link
Contributor

Choose a reason for hiding this comment

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

How is the performance for loading roles solved right now?

@jirikuncar
Copy link
Contributor

@van-ess0 can you please make sure the tests are passing?

@van-ess0 van-ess0 closed this Jul 19, 2023
jasco pushed a commit to jasco/flask-security that referenced this pull request Oct 3, 2023
Add documentation on how to properly subclass a form when using multiple inheritance.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants