diff --git a/internal/httpd/webclient.go b/internal/httpd/webclient.go
index 1208a4a6..b7c0f301 100644
--- a/internal/httpd/webclient.go
+++ b/internal/httpd/webclient.go
@@ -1231,7 +1231,7 @@ func (s *httpdServer) handleClientEditFile(w http.ResponseWriter, r *http.Reques
return
}
- s.renderEditFilePage(w, r, name, b.String(), util.Contains(user.Filters.WebClient, sdk.WebClientWriteDisabled))
+ s.renderEditFilePage(w, r, name, b.String(), !user.CanAddFilesFromWeb(path.Dir(name)))
}
func (s *httpdServer) handleClientAddShareGet(w http.ResponseWriter, r *http.Request) {
diff --git a/templates/webadmin/admins.html b/templates/webadmin/admins.html
index 85d0094d..f1f033bc 100644
--- a/templates/webadmin/admins.html
+++ b/templates/webadmin/admins.html
@@ -28,12 +28,17 @@ along with this program. If not, see
Status: {{if .TOTPConfig.Enabled }}"Enabled". Current configuration: "{{.TOTPConfig.ConfigName}}"{{else}}"Disabled"{{end}}
Recovery codes are a set of one time use codes that can be used in place of the TOTP to login to the web UI. You can use them if you lose access to your phone to login to your account and disable or regenerate TOTP configuration.
To keep your account secure, don't share or distribute your recovery codes. We recommend saving them with a secure password manager.
diff --git a/templates/webadmin/roles.html b/templates/webadmin/roles.html index 9e051f10..f2654905 100644 --- a/templates/webadmin/roles.html +++ b/templates/webadmin/roles.html @@ -26,12 +26,17 @@ along with this program. If not, seeStatus: {{if .TOTPConfig.Enabled }}"Enabled". Current configuration: "{{.TOTPConfig.ConfigName}}"{{else}}"Disabled"{{end}}
Recovery codes are a set of one time use codes that can be used in place of the TOTP to login to the web UI. You can use them if you lose access to your phone to login to your account and disable or regenerate TOTP configuration.
To keep your account secure, don't share or distribute your recovery codes. We recommend saving them with a secure password manager.
diff --git a/templates/webclient/sharefiles.html b/templates/webclient/sharefiles.html index 9daec775..149cc4e7 100644 --- a/templates/webclient/sharefiles.html +++ b/templates/webclient/sharefiles.html @@ -46,12 +46,17 @@ along with this program. If not, see