Skip to content

Commit 642db3c

Browse files
authored
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 <[email protected]>
1 parent 4f8c0eb commit 642db3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/user/settings/applications.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
</div>
166166
<div class="field">
167167
<div class="ui checkbox">
168-
<input class="enable-system" type="checkbox" name="scope" value="delete:repo">
168+
<input class="enable-system" type="checkbox" name="scope" value="delete_repo">
169169
<label>delete_repo</label>
170170
</div>
171171
</div>

0 commit comments

Comments
 (0)