A fork of https://github.com/teal-fm/piper

add form to capture handle

+6 -1
+6 -1
cmd/handlers.go
··· 102 102 103 103 if !isLoggedIn { 104 104 html += ` 105 - <p><a href="/login/atproto">Login with ATProto</a> to get started!</p>` 105 + <p>Login with ATProto to get started!</p> 106 + <form action="/login/atproto"> 107 + <label for="handle">handle:</label> 108 + <input type="text" id="handle" name="handle" > 109 + <input type="submit" value="submit"> 110 + </form>` 106 111 } else { 107 112 html += ` 108 113 <p>You're logged in!</p>