From 0c048e554ba42d99bd66c07447de5f35cf6c981b Mon Sep 17 00:00:00 2001
From: Lunny Xiao <xiaolunwen@gmail.com>
Date: Fri, 20 Jan 2023 15:43:43 +0800
Subject: [PATCH] Fix template bug of access scope (#22540)

Fix https://github.com/go-gitea/gitea/pull/20908#discussion_r1082075526

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
---
 templates/user/settings/applications.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl
index c108f20b5b..5d990ac64b 100644
--- a/templates/user/settings/applications.tmpl
+++ b/templates/user/settings/applications.tmpl
@@ -60,7 +60,7 @@
 						</div>
 						<div class="field">
 							<div class="ui checkbox">
-								<input class="enable-system" type="checkbox" name="scope" value="public:repo">
+								<input class="enable-system" type="checkbox" name="scope" value="public_repo">
 								<label>public_repo</label>
 							</div>
 						</div>