flask-security
flask-security copied to clipboard
[WIP] Fixes #340 factory pattern support
For some info, pls see #340
Coverage decreased (-0.6%) to 94.05% when pulling ecf3c8dfcf33ee1a97d04e7f9544586d4e9b72a0 on KeNaCo:fix-factory_pattern into e01cd63a214969cf8e4ee800d398e1c43b460c7f on mattupstate:develop.
Coverage decreased (-0.6%) to 94.055% when pulling 217fbd1611161453a15b24871d1a584fb66b7d41 on KeNaCo:fix-factory_pattern into e01cd63a214969cf8e4ee800d398e1c43b460c7f on mattupstate:develop.
Actually this PR also has another commit which try to fix inconsistent datastore between __init___
and init_app
. But as author said here in #537, this is not an intended API, so it will be better to pull request separately and discuss what is the proper way to initialize datastore in other issues or PRs.