mirror of
https://github.com/wassname/flask-security.git
synced 2026-07-13 01:00:42 +08:00
0a0b5ecade7e1e79a9d4d27ae18a58570a9572d9
login_required decorator from roles_required and roles_accepted in order to be able to pair http_auth_required with roles_required or roles_accepted. Just be sure to put http_auth_required first.
Flask-Security ============== .. image:: https://secure.travis-ci.org/mattupstate/flask-security.png?branch=develop Simple security for Flask applications combining Flask-Login, Flask-Principal, Flask-WTF, passlib, and your choice of datastore. Currently SQLAlchemy via Flask-SQLAlchemy and MongoEngine via Flask-MongoEngine are supported out of the box. You will need to install the necessary Flask extensions that you'll be using. Additionally, you may need to install an encryption library such as py-bcrypt to support bcrypt passwords. Resources --------- - `Documentation <http://packages.python.org/Flask-Security/>`_ - `Issue Tracker <http://github.com/mattupstate/flask-security/issues>`_ - `Code <http://github.com/mattupstate/flask-security/>`_ - `Development Version <http://github.com/mattupstate/flask-security/zipball/develop#egg=Flask-Security-dev>`_
Languages
Python
95.2%
HTML
4.8%