This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Remove useless check (
#3384
)
In
#3377
, I put check inside all write key function. This one is useless no.
tags/v1.4.0-rc1
Antoine GIRARD
Lauris BH
7 years ago
parent
12619c74a7
commit
fbb8ce3603
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