{{define "cli_approve"}}{{template "top" .}}
{{.Error}}
{{end}} {{if .Request}}A command line asked to sign in as you.
Approving gives that terminal your identity — every account you belong to — for {{.Days}} days. You can revoke it at any time from command-line access, and a note goes to your Keymail inbox the moment it is issued.
{{else}}Type the code your terminal printed.
{{if .LinkCode}} {{end}}Codes look like WXYZ-4823 and last ten minutes.
Nothing here is ever approved by following a link — the code has to be typed,
which means it has to be on a screen in front of you.
Your terminal has the credential — it should say so within a couple of seconds. It expires in {{.Days}} days, and a note is on its way to your Keymail inbox.
See every terminal signed in as you, and revoke any you don't recognise.
{{else}}Nothing was issued. That login attempt is dead and cannot be approved afterwards; if it wasn't yours, whoever started it got nothing.
{{end}} {{template "bottom" .}}{{end}}