mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 02:10:40 +00:00
Fix delete_repo
in template (#22606)
Currently the value doesn't match the model, so selecting it results in
a 500.
e8ac6a9aea/models/auth/token_scope.go (L42)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
4f8c0eba9a
commit
642db3c8f7
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue