* Role permissions backwards compatibility bug. * Fix Change Password regression. * Support for WebAuthn. * Support Two-factor recovery codes. * Provide option to prevent user enumeration (i.e. Generic Responses). * Support for Python 3.10. * Support for Flask >= 2.2. * Add custom HTML attributes to improve user experience. * Make the required zxcvbn complexity score configurable. * Get rid of Flask-Mail. Flask-Mailman is now the default preferred email package. * A delete option has been added to us-setup (form and view). * Improve username support - the LoginForm now has a separate field for username. * Fix test and other failures with newer Flask-Login/Werkzeug versions. * Fix test failures with newer Flask versions. - Drop patch endswith-assert.patch: * Included upstream. - Rebase patches no-mongodb.patch and use-pyqrcodeng.patch - Update {Build,}Requires versions. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Security-Too?expand=0&rev=23
23 lines
959 B
Diff
23 lines
959 B
Diff
Index: Flask-Security-Too-5.0.2/tests/conftest.py
|
|
===================================================================
|
|
--- Flask-Security-Too-5.0.2.orig/tests/conftest.py
|
|
+++ Flask-Security-Too-5.0.2/tests/conftest.py
|
|
@@ -862,7 +862,7 @@ def client_nc(request, sqlalchemy_app):
|
|
return app.test_client(use_cookies=False)
|
|
|
|
|
|
-@pytest.fixture(params=["cl-sqlalchemy", "c2", "cl-mongo", "cl-peewee"])
|
|
+@pytest.fixture(params=["cl-sqlalchemy", "c2", "cl-peewee"])
|
|
def clients(request, app, tmpdir, realdburl, realmongodburl):
|
|
if request.param == "cl-sqlalchemy":
|
|
ds = sqlalchemy_setup(request, app, tmpdir, realdburl)
|
|
@@ -908,7 +908,7 @@ def get_message_local(app):
|
|
|
|
|
|
@pytest.fixture(
|
|
- params=["sqlalchemy", "sqlalchemy-session", "mongoengine", "peewee", "pony"]
|
|
+ params=["sqlalchemy", "sqlalchemy-session", "peewee", "pony"]
|
|
)
|
|
def datastore(request, app, tmpdir, realdburl, realmongodburl):
|
|
if request.param == "sqlalchemy":
|