1
0
Fork 0
forked from forgejo/forgejo
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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 {