mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 14:32:25 +01:00
Fix bad URL construction in GitLab webhooks
This commit is contained in:
parent
7f650a619e
commit
27d004d299
@ -34,6 +34,12 @@ class CreateAPIToken(FlaskForm):
|
|||||||
submit = SubmitField("Save")
|
submit = SubmitField("Save")
|
||||||
|
|
||||||
|
|
||||||
|
@bp.route("/user/tokens/")
|
||||||
|
@login_required
|
||||||
|
def list_tokens_redirect():
|
||||||
|
return redirect(url_for("api.list_tokens", username=current_user.username))
|
||||||
|
|
||||||
|
|
||||||
@bp.route("/users/<username>/tokens/")
|
@bp.route("/users/<username>/tokens/")
|
||||||
@login_required
|
@login_required
|
||||||
def list_tokens(username):
|
def list_tokens(username):
|
||||||
|
Loading…
Reference in New Issue
Block a user