flask-security-example
flask-security-example copied to clipboard
Example applications for Flask-Security
Hi, I want to understand if i can expose a function on RegisterForm ``` class ExtendRegisterForm(FlaskForm): admin = BooleanField('Admin') def create_admin(self): admin_role = user_datastore.find_or_create_role('admin') user_datastore.add_role_to_user(current_user, admin_role) db.session.commit() ``` and use...
Simply downloaded zip, extracted all files, and ran with Python3.6. Application errors out.
how can I solve ?
[ASK] Is there any example of how you can custom and override the login process of flask- security?
The first line (https://github.com/mattupstate/flask-security/tarball/messages) 404s
Hi Matt, just updated the requirement.txt file - it installs now - may get a chance to do some more.
.text -> .txt