mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-11 19:04:24 +00:00
Use a better redirect mechanic in the proxied settings route
This commit is contained in:
1 parent
87798f4781
commit
a27caaa8a2
4 files changed
+13
-8
No files matched your search
@@ -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