1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-09 20:17:21 +00:00
Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
techknowlogick
2020-12-20 10:36:07 -05:00
committed by GitHub
parent f3c4baa84b
commit e0a84d7880
35 changed files with 157 additions and 40 deletions

View File

@ -572,6 +572,10 @@ userAuthLoop:
perms = candidate.perms
}
case "gssapi-with-mic":
if config.GSSAPIWithMICConfig == nil {
authErr = errors.New("ssh: gssapi-with-mic auth not configured")
break
}
gssapiConfig := config.GSSAPIWithMICConfig
userAuthRequestGSSAPI, err := parseGSSAPIPayload(userAuthReq.Payload)
if err != nil {