{{define "title"}}Settings - {{.Site}}{{end}} {{define "main"}}
Signed in as {{template "who" .User}}{{if .Admin}}, a global admin{{end}}.
Mail is turned off on this instance, so nothing is sent. The address below is still what commits made through the web are attributed to.
{{else}}An address receives nothing until a link sent to it has been followed. Notices about your own account ignore the toggle below, because they are security facts rather than activity.
{{end}} {{if .Data.Local}}This account signs in through an external provider, so there is no password here.
{{end}}Git over HTTP takes a token, never your password. A token is scoped to one repository and carries the access you already have there: clone if you can read it, push if you can write it, the wiki if you may edit it. It carries no second factor, and it can be revoked on its own without touching anything else.
git clone {{.Base}}/section/repo.git
Username: {{.User}}
Password: the token
{{with .Data.Secret}}
{{.}}
{{end}}
| Id | Repository | Made | Last used | |
|---|---|---|---|---|
| {{.ID}} | {{.Repo}} | {{if .Created}}{{.Created}}{{else}}unknown{{end}} | {{if .Used}}{{.Used}}{{else}}never{{end}} | |
| None. Mint one below to push over HTTP. | ||||
Dates are days, not times: a write on every request git makes would be a write on every request git makes. A token that has never been used, or was last used a long time ago, is one worth revoking.
Second factor. An account with the global admin flag has to have one before it can administer anything.
Signing out everywhere invalidates every session cookie ever issued for this account, including this browser's.
{{end}}