authorize: fix unsigned URL (#2118)

This commit is contained in:
Caleb Doxsey 2021-04-22 17:33:46 -06:00 committed by GitHub
parent d365771e90
commit 433831fbea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,6 +80,8 @@ func (a *Authorize) htmlDeniedResponse(
}.Encode(), }.Encode(),
}) })
debugEndpoint = urlutil.NewSignedURL(a.state.Load().sharedKey, debugEndpoint).Sign()
var details string var details string
switch code { switch code {
case httputil.StatusInvalidClientCertificate: case httputil.StatusInvalidClientCertificate: