Skip to content

Commit 8ef1190

Browse files
committed
missing change
Signed-off-by: Andrew Thornton <[email protected]>
1 parent 0db8d7f commit 8ef1190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/ssh_key.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func (key *PublicKey) OmitEmail() string {
8484

8585
// AuthorizedString returns formatted public key string for authorized_keys file.
8686
func (key *PublicKey) AuthorizedString() string {
87-
return fmt.Sprintf(tplPublicKey, fmt.Sprintf(tplCommand, util.ShellEscape(setting.AppPath), util.ShellEscape(setting.CustomConf), key.ID), key.Content)
87+
return fmt.Sprintf(tplPublicKey, util.ShellEscape(fmt.Sprintf(tplCommand, util.ShellEscape(setting.AppPath), util.ShellEscape(setting.CustomConf), key.ID)), key.Content)
8888
}
8989

9090
func extractTypeFromBase64Key(key string) (string, error) {

0 commit comments

Comments
 (0)