internal/web/templates/login.html

adf461dc5a77c5ecb2f6e833211707bd6c65f6c4
gitbay/internal/web/templates/login.html

9 lines · 374 bytes

1{{define "title"}}login · {{.Site}}{{end}}
2{{define "content"}}
3<h1>Log in</h1>
4{{if .Error}}<p class="error" role="alert">{{.Error}}</p>{{end}}
5<p>Browser sessions are minted over SSH — there is no password. From a machine
6with your registered key:</p>
7<pre class="message">ssh git@{{.Host}} web login</pre>
8<p>then open the printed URL within five minutes.</p>
9{{end}}