mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-26 14:01:33 +00:00
Use a better redirect mechanic in the proxied settings route
This commit is contained in:
@@ -8,7 +8,4 @@ from . import bp
|
||||
@bp.route('/settings', methods=['GET', 'POST'])
|
||||
@register_breadcrumb(bp, '.', '<i class="material-icons left">settings</i>Settings')
|
||||
def settings():
|
||||
return settings_route(
|
||||
current_user.id,
|
||||
redirect_location_on_post=url_for('.settings')
|
||||
)
|
||||
return settings_route(current_user.id)
|
||||
|
Reference in New Issue
Block a user