go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/server/loginsessions/internal/assets/pages/confirm.html (about) 1 {{define "title"}}Input the confirmation code{{end}} 2 3 {{define "content"}} 4 5 <p> 6 Almost there! Switch back to the terminal and copy the confirmation code the 7 command line application is displaying right now into the field below. If you 8 got the code from anywhere else <b>stop now</b>. Whoever gave you the code may 9 be trying to impersonate you. 10 </p> 11 12 {{if .BadCode}} 13 <div class="alert alert-warning" role="alert"> 14 Invalid or expired code. Make sure to copy the code that is shown in the 15 terminal right now. It changes with time. 16 </div> 17 {{end}} 18 19 <div class="row py-2"> 20 <form method="POST" id="confirmation"> 21 <input 22 type="text" 23 id="confirmation_code" 24 class="form-control" 25 name="confirmation_code" 26 placeholder="Confirmation code" 27 autocomplete="off" 28 spellcheck="false" 29 autofocus> 30 </form> 31 </div> 32 33 <div class="row"> 34 <div class="col"> 35 <button class="btn btn-primary w-100" type="submit" form="confirmation">Confirm</button> 36 </div> 37 <div class="col"> 38 <form action="/cli/cancel" method="POST"> 39 <input type="hidden" name="state" value="{{.OAuthState}}"> 40 <button class="btn btn-secondary w-100" type="submit">Cancel</button> 41 </form> 42 </div> 43 </div> 44 45 {{end}}