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>
This commit is contained in:
@@ -165,7 +165,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<div class="ui checkbox">
|
<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>
|
<label>delete_repo</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user