Commit d79139214b
d79139214b02678a3234731033c407d67afacb13
parent: c074c8aa48
Verified · cmc
cmc <hello@cleberg.net> · 2026-09-12 05:09 UTC
web: the settings page names the real token command
Ref #182
internal/web/templates/account.html
+1 −1
| @@ -126,7 +126,7 @@ never included; a replayed bundle's emails arrive unverified.</p> |
| 126 | 126 | <h2>On SSH only</h2> |
| 127 | 127 | <p class="meta">Anything whose input is a credential stays on the command line, |
| 128 | 128 | where it can be piped instead of pasted:</p> |
| 129 | | <pre class="message">gitbay auth token mint --name laptop # API tokens |
| 129 | <pre class="message">gitbay auth token create --name laptop # API tokens |
| 130 | 130 | gitbay admin ... # instance administration</pre> |
| 131 | 131 | <p class="meta">All of the above works from stock OpenSSH too: |
| 132 | 132 | <code>ssh git@{{.Host}} auth whoami</code>.</p> |
internal/web/templates/landing.html
+1 −1
| @@ -13,6 +13,6 @@ git clone ssh://git@{{.Host}}/owner/repo.git</pre> |
| 13 | 13 | <section><h2>Review</h2><p>The web is a rendering of the same state: read a diff, comment on a line, approve, merge. Everything it can do, the terminal can do first.</p></section> |
| 14 | 14 | </div> |
| 15 | 15 | <p><a class="explorelink" href="/explore">explore public repositories →</a></p> |
| 16 | | {{if .Accounts}}<p class="meta">have an account? mint a browser session from your terminal: <code>gitbay web login</code>{{if .Signup}} · new here? <a href="/register">create an account</a>{{end}}</p>{{end}} |
| 16 | {{if .Accounts}}<p class="meta">have an account? log in from your terminal: <code>gitbay web login</code>{{if .Signup}} · new here? <a href="/register">create an account</a>{{end}}</p>{{end}} |
| 17 | 17 | </div> |
| 18 | 18 | {{end}} |