Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable run user change in installation page #22499

Merged
2 changes: 1 addition & 1 deletion options/locale/locale_en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ repo_path_helper = Remote Git repositories will be saved to this directory.
lfs_path = Git LFS Root Path
lfs_path_helper = Files tracked by Git LFS will be stored in this directory. Leave empty to disable.
run_user = Run As Username
run_user_helper = Enter the operating system username that Gitea runs as. Note that this user must have access to the repository root path.
run_user_helper = The operating system username that Gitea runs as. Note that this user must have access to the repository root path.
domain = Server Domain
domain_helper = Domain or host address for the server.
ssh_port = SSH Server Port
Expand Down
2 changes: 1 addition & 1 deletion templates/install.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down