This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Remove useless check (
#3384
)
In
#3377
, I put check inside all write key function. This one is useless no.
for-closed-social
Antoine GIRARD
6 years ago
committed by
Lauris BH
parent
05ab747054
commit
1ce3572409
1 changed files
with
0 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-4
models/ssh_key.go
+ 0
- 4
models/ssh_key.go
View File
@ -387,10 +387,6 @@ func addKey(e Engine, key *PublicKey) (err error) {
return
err
}
// Don't need to rewrite this file if builtin SSH server is enabled.
if
setting
.
SSH
.
StartBuiltinServer
{
return
nil
}
return
appendAuthorizedKeysToFile
(
key
)
}
Write
Preview
Loading…
Cancel
Save