{{define "access"}}{{template "header" .}} {{if not .OAuthOn}}
Google OAuth is not configured, so these sign-in rules are inactive. Set MT_GOOGLE_CLIENT_ID/MT_GOOGLE_CLIENT_SECRET to enable them. HTTP basic auth (MT_ADMIN_USER) always bypasses this policy.
{{end}}

Sign-in policy

New sign-ins
Comma- or space-separated. Leave blank to allow any domain (not recommended). Applies in every mode.
{{if .Pending}}

Pending requests {{len .Pending}}

{{range .Pending}} {{end}}
EmailRequestedActions
{{.Email}} {{.Created.Format "2006-01-02 15:04"}}
{{end}}

Allowed users

{{range .Active}} {{else}} {{end}}
EmailStatusAdded byLast login
{{.Email}} {{if eq .Status "approved"}}approved {{else if eq .Status "blocked"}}blocked {{else}}{{.Status}}{{end}} {{.AddedBy}} {{if .LastLogin.IsZero}}—{{else}}{{.LastLogin.Format "2006-01-02 15:04"}}{{end}} {{if eq .Status "blocked"}}
{{else}}
{{end}}
No users yet. In open mode they appear here after first sign-in.
{{template "footer" .}}{{end}}