diff --git a/flask_security/core.py b/flask_security/core.py index 794e5fb..80e66ef 100644 --- a/flask_security/core.py +++ b/flask_security/core.py @@ -45,12 +45,12 @@ _default_config = { 'LOGIN_VIEW': '/login', 'POST_LOGIN_VIEW': '/', 'POST_LOGOUT_VIEW': '/', - 'POST_FORGOT_VIEW': '/', - 'RESET_PASSWORD_ERROR_VIEW': '/', + 'POST_FORGOT_VIEW': None, 'CONFIRM_ERROR_VIEW': None, 'POST_REGISTER_VIEW': None, 'POST_CONFIRM_VIEW': None, 'POST_RESET_VIEW': None, + 'RESET_PASSWORD_ERROR_VIEW': None, 'UNAUTHORIZED_VIEW': None, 'DEFAULT_ROLES': [], 'CONFIRMABLE': False, diff --git a/flask_security/templates/security/_messages.html b/flask_security/templates/security/_messages.html index 788a413..179d063 100644 --- a/flask_security/templates/security/_messages.html +++ b/flask_security/templates/security/_messages.html @@ -1,6 +1,6 @@ {%- with messages = get_flashed_messages(with_categories=true) -%} {% if messages %} -