Compare commits
No commits in common. "eab0b724313ed914660e063e6bfd67594be943b2" and "138e8184295b6c8b7166a441395c07d7b91dc7ba" have entirely different histories.
eab0b72431
...
138e818429
7
Makefile
7
Makefile
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue