tangled
alpha
login
or
join now
tom.sherman.is
/
piper
0
fork
atom
A fork of https://github.com/teal-fm/piper
0
fork
atom
overview
issues
pulls
pipelines
add form to capture handle
Kyle Loveless
9 months ago
f1501f64
ba4ebc30
+6
-1
1 changed file
expand all
collapse all
unified
split
cmd
handlers.go
+6
-1
cmd/handlers.go
···
102
102
103
103
if !isLoggedIn {
104
104
html += `
105
105
-
<p><a href="/login/atproto">Login with ATProto</a> to get started!</p>`
105
105
+
<p>Login with ATProto to get started!</p>
106
106
+
<form action="/login/atproto">
107
107
+
<label for="handle">handle:</label>
108
108
+
<input type="text" id="handle" name="handle" >
109
109
+
<input type="submit" value="submit">
110
110
+
</form>`
106
111
} else {
107
112
html += `
108
113
<p>You're logged in!</p>