Compare commits

..

No commits in common. "eab0b724313ed914660e063e6bfd67594be943b2" and "138e8184295b6c8b7166a441395c07d7b91dc7ba" have entirely different histories.

2 changed files with 3 additions and 6 deletions

View File

@ -1,8 +1,5 @@
build: clean generate
CGO_ENABLED=0 misc/script/build
generate:
go generate ./...
build: clean
misc/script/build
clean:
rm -rf bin

View File

@ -171,7 +171,7 @@ func newLoginEndHandler(ra oa2LoginReqAcceptor, auther authenticator, tmplRender
data := LoginTmplData{
CSRFToken: nosurf.Token(r),
Challenge: challenge,
LoginURL: strings.TrimPrefix(r.URL.String(), "/"),
LoginURL: r.URL.String(),
}
username, password := r.Form.Get("username"), r.Form.Get("password")