We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 762c046 commit 0c40b0bCopy full SHA for 0c40b0b
modules/setting/setting.go
@@ -730,6 +730,8 @@ func NewContext() {
730
for _, key := range minimumKeySizes {
731
if key.MustInt() != -1 {
732
SSH.MinimumKeySizes[strings.ToLower(key.Name())] = key.MustInt()
733
+ } else {
734
+ delete(SSH.MinimumKeySizes, strings.ToLower(key.Name()))
735
}
736
737
SSH.AuthorizedKeysBackup = sec.Key("SSH_AUTHORIZED_KEYS_BACKUP").MustBool(true)
0 commit comments