Skip to content

Commit

Permalink
Merge pull request #1736 from gravitational/rjones/fix-tc-reg
Browse files Browse the repository at this point in the history
Pass the certificate format when creating a Web session as well.
  • Loading branch information
klizhentas authored Mar 2, 2018
2 parents 079d345 + 1d00bbd commit 6f35275
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,7 @@ func (s *AuthServer) NewWebSession(userName string) (services.WebSession, error)
PermitAgentForwarding: roles.CanForwardAgents(),
PermitPortForwarding: roles.CanPortForward(),
Roles: user.GetRoles(),
CertificateFormat: roles.CertificateFormat(),
})
if err != nil {
return nil, trace.Wrap(err)
Expand Down

0 comments on commit 6f35275

Please sign in to comment.