mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Backport #11635 Fix #11634 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
		| @@ -730,6 +730,8 @@ func NewContext() { | ||||
| 	for _, key := range minimumKeySizes { | ||||
| 		if key.MustInt() != -1 { | ||||
| 			SSH.MinimumKeySizes[strings.ToLower(key.Name())] = key.MustInt() | ||||
| 		} else { | ||||
| 			delete(SSH.MinimumKeySizes, strings.ToLower(key.Name())) | ||||
| 		} | ||||
| 	} | ||||
| 	SSH.AuthorizedKeysBackup = sec.Key("SSH_AUTHORIZED_KEYS_BACKUP").MustBool(true) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user