aboutsummaryrefslogtreecommitdiffstats
path: root/templates/install.tmpl
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-07-06 10:14:51 +0800
committerGitHub <noreply@github.com>2023-07-06 10:14:51 +0800
commitd17a848fe275c3e8734a4dfcaf2eae8ca0dc361c (patch)
treecf7260ce3307badfe2cdcbabee35ad8150f824ca /templates/install.tmpl
parentab6095707f2ea6390eb2bbd40bd715cbb1442517 (diff)
downloadgitea-d17a848fe275c3e8734a4dfcaf2eae8ca0dc361c.tar.gz
gitea-d17a848fe275c3e8734a4dfcaf2eae8ca0dc361c.zip
Disable run user change in installation page (#22499)
The run user should not be changed on the installation page because it will not be any effect to Gitea. This PR disabled the input box of run user.
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r--templates/install.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl
index c9f147a64d..ccbd673470 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -119,7 +119,7 @@
</div>
<div class="inline required field {{if .Err_RunUser}}error{{end}}">
<label for="run_user">{{.locale.Tr "install.run_user"}}</label>
- <input id="run_user" name="run_user" value="{{.run_user}}" required>
+ <input id="run_user" name="run_user" value="{{.run_user}}" readonly>
<span class="help">{{.locale.Tr "install.run_user_helper"}}</span>
</div>
<div class="inline required field">