mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 16:58:37 +00:00
Make log path required
This commit is contained in:
@@ -27,7 +27,7 @@ type InstallForm struct {
|
|||||||
SSHPort int
|
SSHPort int
|
||||||
HTTPPort string `binding:"Required"`
|
HTTPPort string `binding:"Required"`
|
||||||
AppUrl string `binding:"Required"`
|
AppUrl string `binding:"Required"`
|
||||||
LogRootPath string
|
LogRootPath string `binding:"Required"`
|
||||||
|
|
||||||
SMTPHost string
|
SMTPHost string
|
||||||
SMTPFrom string
|
SMTPFrom string
|
||||||
|
@@ -109,9 +109,9 @@
|
|||||||
<input id="app_url" name="app_url" value="{{.app_url}}" placeholder="e.g. https://try.gogs.io" required>
|
<input id="app_url" name="app_url" value="{{.app_url}}" placeholder="e.g. https://try.gogs.io" required>
|
||||||
<span class="help">{{.i18n.Tr "install.app_url_helper"}}</span>
|
<span class="help">{{.i18n.Tr "install.app_url_helper"}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="inline field">
|
<div class="inline required field">
|
||||||
<label for="log_root_path">{{.i18n.Tr "install.log_root_path"}}</label>
|
<label for="log_root_path">{{.i18n.Tr "install.log_root_path"}}</label>
|
||||||
<input id="log_root_path" name="log_root_path" value="{{.log_root_path}}" placeholder="log">
|
<input id="log_root_path" name="log_root_path" value="{{.log_root_path}}" placeholder="log" required>
|
||||||
<span class="help">{{.i18n.Tr "install.log_root_path_helper"}}</span>
|
<span class="help">{{.i18n.Tr "install.log_root_path_helper"}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user