Don Bowman 9 years ago
parent
commit
1d52793faf
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      models/publickey.go

+ 0
- 1
models/publickey.go View File

@@ -386,7 +386,6 @@ func ListPublicKeys(uid int64) ([]*PublicKey, error) {

// rewriteAuthorizedKeys finds and deletes corresponding line in authorized_keys file.
func rewriteAuthorizedKeys(key *PublicKey, p, tmpP string) error {

fr, err := os.Open(p)
if err != nil {
return err


Loading…
Cancel
Save