summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2023-01-26 14:36:15 -0600
committerGitHub <noreply@github.com>2023-01-26 14:36:15 -0600
commit642db3c8f7d2faf9ff02867cf1e1287fa0e1d593 (patch)
treeff9190c8563d8a0ddc5f357cf4b2bdafbc02c116 /templates
parent4f8c0eba9a084c43654e50a87b86936fa29fceb4 (diff)
downloadgitea-642db3c8f7d2faf9ff02867cf1e1287fa0e1d593.tar.gz
gitea-642db3c8f7d2faf9ff02867cf1e1287fa0e1d593.zip
Fix `delete_repo` in template (#22606)
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>
Diffstat (limited to 'templates')
-rw-r--r--templates/user/settings/applications.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl
index c1503bb535..5cea142238 100644
--- a/templates/user/settings/applications.tmpl
+++ b/templates/user/settings/applications.tmpl
@@ -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>