flask-user

Overriding Flask-User/Flask-Login's default templates

馋奶兔 提交于 2021-02-07 13:31:47
问题 I have found a similar question here, but the answer does not seem to work for me. I use Flask User (which extends Flask Login, I believe) and for the most part it works very well. I have built my own completely fresh templates for sign in and registration, rather than using their provided ones. Following the documentation, I have placed these templates at templates/flask_user/login.html , templates/flask_user/register.html and so on. I have also set USER_UNAUTHENTICATED_ENDPOINT = "login"