{{define "content"}} {{$a := .Data.Admin}}

Account

The single administrator account for this server.

{{template "settingsnav" dict "Subnav" "account"}}
Change credentials
{{if $a.MustChangePassword}}
This account still uses the password that was generated and printed at first startup. Set your own before exposing the interface to anyone else.
{{end}}
Always required, even for a username change. Browsers replay HTTP Basic credentials automatically, so proving you know the password is what distinguishes you from a hijacked tab.

Letters, digits and the characters . - _ @
At least 12 characters. Leave blank to keep the current password. Stored as an Argon2id hash, never in plain text.
After saving, your browser will prompt for the new credentials. The old password stops working immediately.
Account details
Username
{{$a.Username}}
Created
{{datetime $a.CreatedAt}}
Last updated
{{datetime $a.UpdatedAt}}
Last sign-in
{{if $a.LastLoginAt}}{{datetime $a.LastLoginAt}}{{else}}never{{end}}
Password
Argon2id
How authentication works

The management interface uses HTTP Basic authentication over a single administrator account. There is no session cookie to steal, but browsers do replay the credentials on every request, so state-changing requests additionally carry a signed CSRF token.

Repeated failed sign-ins from one address are locked out for a few minutes.

For automation, use an API token rather than the administrator password: tokens are individually revocable and carry no ability to change credentials.

{{end}}