Skip to content

Commit

Permalink
Fix delete_repo in template (#22606)
Browse files Browse the repository at this point in the history
Currently the value doesn't match the model, so selecting it results in
a 500.

https://github.com/go-gitea/gitea/blob/e8ac6a9aeacf0adf21982abc51baa8938e5dd6bb/models/auth/token_scope.go#L42

Signed-off-by: jolheiser <john.olheiser@gmail.com>
  • Loading branch information
jolheiser authored Jan 26, 2023
1 parent 4f8c0eb commit 642db3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/user/settings/applications.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
</div>
<div class="field">
<div class="ui checkbox">
<input class="enable-system" type="checkbox" name="scope" value="delete:repo">
<input class="enable-system" type="checkbox" name="scope" value="delete_repo">
<label>delete_repo</label>
</div>
</div>
Expand Down

0 comments on commit 642db3c

Please sign in to comment.