1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-09-15 18:56:59 +00:00

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.
This commit is contained in:
Lunny Xiao 2023-07-06 10:14:51 +08:00 committed by GitHub
parent ab6095707f
commit d17a848fe2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

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