{{template "base" .}} {{define "title"}}{{.Title}}{{end}} {{define "extra_css"}} {{end}} {{define "page_body"}}

{{if .IsAdd}}Add a new user{{else}}Edit user{{end}}

{{if .Error}}
{{.Error}}
{{end}}
{{if not .IsAdd}} If empty the current password will not be changed {{end}}
One public key or SSH user certificate per line
One directory per line as dir::perms, for example /somedir::list,download
One mapping per line as vpath::path::[quota_files]::[quota_size(bytes)], for example /vdir::/home/adir or /vdir::C:\adir::10::104857600. Quota -1 means included inside user quota. Ignored for non local filesystems
0 means no limit
0 means no limit
0 means no limit
0 means no limit
0 means no limit
0 means no limit
Comma separated IP/Mask in CIDR format, for example "192.168.1.0/24,10.8.0.100/32"
Comma separated IP/Mask in CIDR format, for example "192.168.1.0/24,10.8.0.100/32"
One directory per line as dir::extensions1,extensions2, for example /subdir::.zip,.rar
One directory per line as dir::extensions1,extensions2, for example /somedir::.jpg,.png
The buffer size for multipart uploads. Zero means the default (5 MB). Minimum is 5
How many parts are uploaded in parallel. Zero means the default (2)
Similar to a chroot for local filesystem. Cannot start with "/". Example: "somedir/subdir/".
Add or update credentials from a JSON file
Similar to a chroot for local filesystem. Cannot start with "/". Example: "somedir/subdir/".
{{if not .IsAdd}}
This way you force the user to login again, if connected, and so to use the new configuration
{{end}}
{{end}} {{define "extra_js"}} {{end}}