{{define "content"}}{{template "settings-start" .}}{{with .Data}}{{$d := .}}

Your account

{{.U.Email}} · {{.Role}}{{if not .U.SignedIn.IsZero}} · signed in {{ago .U.SignedIn}}{{end}}

About you

{{if eq .Section "profile"}}{{end}}
{{range .Zones}} {{if .Emails}}
Emails you'd like {{$u := .U}}{{range .Emails}}{{end}}
{{end}}
{{if .Photos}}

Photo

{{if .U.Photo}}Your photo{{else}}{{end}}
{{if .U.Photo}}
{{end}}

Shown beside your name to the team. A square picture of 2 MB or less.

{{end}}

Password

{{if eq .Section "password"}}{{end}}

Changing it signs you out everywhere else.

Two-factor sign-in

{{if eq .Section "two-factor"}}{{end}} {{if .U.TwoFactor}}

On Signing in asks for a code from your authenticator app. {{if lt .U.RecoveryLeft 3}}{{.U.RecoveryLeft}} recovery codes left: make new ones below.{{else}}{{.U.RecoveryLeft}} recovery codes left.{{end}}

{{else}}

Off. With it on, signing in asks for your password and a code from an authenticator app on your phone (such as Aegis, 2FAS, Google Authenticator or 1Password), so a stolen password isn't enough.

Turn it on {{end}}

Where you're signed in

{{range .Sessions}}{{end}}
BrowserFromSigned inLast used
{{if .UserAgent}}{{truncate 60 .UserAgent}}{{else}}unknown{{end}}{{if .This}} this one{{end}} {{.IP}}{{ago .Created}}{{ago .Seen}}
{{if gt (len .Sessions) 1}}
{{end}}
{{end}}{{template "settings-end"}}{{end}}