1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-12-08 09:28:10 +00:00

Improve some forms

This commit is contained in:
bouncepaw
2021-07-14 20:04:52 +00:00
parent df78f75efb
commit 8059674925
5 changed files with 181 additions and 159 deletions

View File

@@ -125,7 +125,7 @@ func handlerLogin(w http.ResponseWriter, rq *http.Request) {
func handlerTelegramLogin(w http.ResponseWriter, rq *http.Request) {
// Note there is no lock here.
w.Header().Set("Content-Type", "text/plain;charset=utf-8")
w.Header().Set("Content-Type", "text/html;charset=utf-8")
rq.ParseForm()
var (
values = rq.URL.Query()