add to acceptRequest

This commit is contained in:
AshersLab
2021-05-13 15:45:37 +10:00
committed by Nikolay Stupak
parent 67c63ca8cd
commit 6a4ab470b4
3 changed files with 7 additions and 3 deletions

View File

@ -30,6 +30,6 @@ func (lrd *LogoutReqDoer) InitiateRequest(challenge string) (*ReqInfo, error) {
// AcceptLogoutRequest accepts the requested logout process, and returns redirect URI.
func (lrd *LogoutReqDoer) AcceptLogoutRequest(challenge string) (string, error) {
redirectURI, err := acceptRequest(logout, lrd.hydraURL, challenge, nil)
redirectURI, err := acceptRequest(logout, lrd.hydraURL, lrd.fakeTlsTermination, challenge, nil)
return redirectURI, errors.Wrap(err, "failed to accept logout request")
}