♻️ Used domain IsEqual method for ClientID instead plain strings
/ docker (push) Successful in 1m17s
Details
/ docker (push) Successful in 1m17s
Details
This commit is contained in:
parent
dc7746a6c0
commit
7d0635c87a
|
@ -138,7 +138,7 @@ func (h *Handler) handleCallback(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
// TODO(toby3d): load and check state
|
||||
|
||||
if req.Iss.String() != h.client.ID.String() {
|
||||
if !req.Iss.IsEqual(h.client.ID) {
|
||||
w.WriteHeader(http.StatusBadRequest)
|
||||
layout.WriteTemplate(w, &template.Error{
|
||||
BaseOf: baseOf,
|
||||
|
|
Loading…
Reference in New Issue