Setting USER_AFTER_REGISTER_ENDPOINT appear to be ignored.
This is my config. Expecting to be routed back to the registration form after register a new user, auto_login is set to false. Instead i am routed to GET /myapp/login?next=/ (ignoring my user_login_url and are using next to /, root, this is to 404)
If I am using auto login I am being sent to root again ignoring after_login_url
I am using my own end points, maybe it has something to do with it?
Do i need to manipulte the template myself to get around it?
Setting USER_AFTER_REGISTER_ENDPOINT appear to be ignored.
This is my config. Expecting to be routed back to the registration form after register a new user, auto_login is set to false. Instead i am routed to GET /myapp/login?next=/ (ignoring my user_login_url and are using next to /, root, this is to 404) If I am using auto login I am being sent to root again ignoring after_login_url I am using my own end points, maybe it has something to do with it?
Do i need to manipulte the template myself to get around it?
app.config['USER_ENABLE_REGISTER'] = True app.config['USER_AUTO_LOGIN_AFTER_REGISTER'] = False app.config['USER_LOGIN_URL'] = '/{}/login'.format(appname) app.config['USER_LOGOUT_URL'] = '/{}/logout'.format(appname) app.config['USER_REGISTER_URL'] = '/{}/register'.format(appname) app.config['USER_AFTER_LOGOUT_ENDPOINT'] = 'user.login' app.config['USER_AFTER_LOGIN_ENDPOINT'] = 'map_main' app.config['USER_AFTER_REGISTER_ENDPOINT'] = 'user.register'