Browse Source

templates/admin/config: show SSH.StartBuiltinServer

Unknwon 7 years ago
parent
commit
63a263f542
3 changed files with 3 additions and 0 deletions
  1. 1 0
      conf/locale/locale_en-US.ini
  2. 0 0
      pkg/bindata/bindata.go
  3. 2 0
      templates/admin/config.tmpl

+ 1 - 0
conf/locale/locale_en-US.ini

@@ -1163,6 +1163,7 @@ config.ssh_domain = Domain
 config.ssh_port = Port
 config.ssh_listen_port = Listen Port
 config.ssh_root_path = Root Path
+config.ssh_rewrite_authorized_keys_at_start = Rewrite authorized_keys At Start
 config.ssh_key_test_path = Key Test Path
 config.ssh_keygen_path = Keygen ('ssh-keygen') Path
 config.ssh_minimum_key_size_check = Minimum Key Size Check

File diff suppressed because it is too large
+ 0 - 0
pkg/bindata/bindata.go


+ 2 - 0
templates/admin/config.tmpl

@@ -61,6 +61,8 @@
 							{{if not .SSH.StartBuiltinServer}}
 								<dt>{{.i18n.Tr "admin.config.ssh_root_path"}}</dt>
 								<dd>{{.SSH.RootPath}}</dd>
+								<dt>{{.i18n.Tr "admin.config.ssh_rewrite_authorized_keys_at_start"}}</dt>
+								<dd><i class="fa fa{{if .SSH.RewriteAuthorizedKeysAtStrat}}-check{{end}}-square-o"></i></dd>
 								<dt>{{.i18n.Tr "admin.config.ssh_key_test_path"}}</dt>
 								<dd>{{.SSH.KeyTestPath}}</dd>
 								<dt>{{.i18n.Tr "admin.config.ssh_keygen_path"}}</dt>

Some files were not shown because too many files changed in this diff