2
0

Fix delete_repo in template (#22606)

Currently the value doesn't match the model, so selecting it results in
a 500.

f26b37e4ac/models/auth/token_scope.go (L42)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
John Olheiser
2023-01-26 14:36:15 -06:00
committed by GitHub
parent 6b98218e05
commit 64cf7d87af

View File

@@ -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>