Refuse requests for non-gemini schemes

This commit is contained in:
adnano
2020-09-28 16:07:51 -04:00
parent a49b0cdaac
commit 4c0b13fb57
2 changed files with 6 additions and 1 deletions

View File

@@ -79,7 +79,7 @@ func login(rw *gmi.ResponseWriter, req *gmi.Request) {
sessions[fingerprint] = &session{
username: username,
}
gmi.Redirect(rw, req, "/login/password")
gmi.Redirect(rw, req, "/login#password")
})
})
}