diff --git a/app/views/accounts/index.html.erb b/app/views/accounts/index.html.erb index 4c8bd2a..f6b12ba 100644 --- a/app/views/accounts/index.html.erb +++ b/app/views/accounts/index.html.erb @@ -16,7 +16,11 @@ <% @accounts.each do |account| %> - <%= account.home_folder %> + + " target="_blank" rel="noopener"> + <%= account.home_folder %> + + <%= account.username %> <%= link_to reveal_password_path(account.id), remote: true do %> diff --git a/config/application.yml.sample b/config/application.yml.sample index 8e714dd..7528dc7 100644 --- a/config/application.yml.sample +++ b/config/application.yml.sample @@ -14,6 +14,7 @@ defaults: &defaults ftpusers: "/path/to/vsftpd/users/configs" ftproot: "/path/to/root/ftp/prefix/" ftpaccount: vsftpd + wwwroot: "/path/to/ftp/www" development: <<: *defaults