pallets-eco / flask-security

Quick and simple security for Flask applications
MIT License
1.63k stars 513 forks source link

How to disable default registration page and only allow a custom page? #826

Closed amahlaka closed 2 years ago

amahlaka commented 5 years ago

On my code, there are 2 different registration pages with different url's, i want to only use those pages for registration, not the default '/register' page. The custom pages have their own view functions

alaa-aqeel commented 5 years ago

To create a custom page, update the configuration view_template : SECURITY_REGISTER_USER_TEMPLATE url : SECURITY_REGISTER_URL But this is for just one page

Docs Configuration