Skip to content

Commit

Permalink
remove additional logging
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Thornton <art27@cantab.net>
  • Loading branch information
zeripath committed Dec 16, 2020
1 parent 40928bd commit e8a6632
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion models/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,6 @@ func addLdapSSHPublicKeys(usr *User, s *LoginSource, sshPublicKeys []string) boo
marshalled := string(ssh.MarshalAuthorizedKey(out))
marshalled = marshalled[:len(marshalled)-1]
sshKeyName := fmt.Sprintf("%s-%s", s.Name, ssh.FingerprintSHA256(out))
log.Info("%q marshalled", marshalled)

if _, err := AddPublicKey(usr.ID, sshKeyName, marshalled, s.ID); err != nil {
if IsErrKeyAlreadyExist(err) {
Expand Down

0 comments on commit e8a6632

Please sign in to comment.