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

Trouble overriding default Flask-Security Forms #40

Open
NickWoodhams opened this issue Jun 22, 2015 · 0 comments
Open

Trouble overriding default Flask-Security Forms #40

NickWoodhams opened this issue Jun 22, 2015 · 0 comments

Comments

@NickWoodhams
Copy link

Hey Matt,

Having trouble overriding the default registration form for Flask-Security.

Edited these lines in factory.py

security.init_app(app, SQLAlchemyUserDatastore(db, User, Role),
    register_form=ExtendedRegisterForm,
    register_blueprint=register_security_blueprint)

Any thoughts on why the Extended form might not be showing up?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant