Back to Sftpgo

Admin

templates/webadmin/admin.html

2.7.11.3 KB
Original Source

{{template "base" .}} {{- define "page_body"}}

{{- template "errmsg" .Error}} Username

Password {{- if not .IsAdd}}

{{- end}}

Require password change

A password change is required at the next login

Status ActiveInactive

Permissions {{- range $validPerm := .Admin.GetValidPerms}} {{$validPerm}} {{- end}}

{{- if .Roles}}

Role

{{- template "infomsg" "admin.role_help"}} Role {{- range .Roles}} {{.Name}} {{- end}}

{{- end}} {{- if .Groups}}

Groups for users

{{- template "infomsg-no-mb" "admin.users_groups_help"}}

{{range $idx, $val := .Admin.Groups}}

{{- range $.Groups}} {{.Name}} {{- end}}

Add as membershipAdd as primaryAdd as secondary

{{- else}}

{{- range $.Groups}} {{.Name}} {{- end}}

Add as membershipAdd as primaryAdd as secondary

{{- end}}

Add

{{- end}}

User page preferences

{{- template "infomsg" "admin.user_page_pref_help"}} Hide sections GroupsFilesystemVirtual FoldersProfileACLsDisk quota and bandwidth limitsAdvanced settings

Default users expiration

Email

Description

Allowed IP/Mask {{.Admin.GetAllowedIPAsString}}

API key authentication

Allow to impersonate yourself, in REST API, with an API key

2FA

Two-factor authentication is required

Additional info {{.Admin.AdditionalInfo}}

Submit Please wait...

{{- end}} {{- define "extra_js"}} {{- end}}