mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Don't rewrite non-gitea public keys (#906)
* don't rewrite non-gitea public keys * add comment for public key
This commit is contained in:
		@@ -90,6 +90,8 @@ var migrations = []Migration{
 | 
			
		||||
	NewMigration("generate and migrate Git hooks", generateAndMigrateGitHooks),
 | 
			
		||||
	// v20 -> v21
 | 
			
		||||
	NewMigration("use new avatar path name for security reason", useNewNameAvatars),
 | 
			
		||||
	// v21 -> v22
 | 
			
		||||
	NewMigration("rewrite authorized_keys file via new format", useNewPublickeyFormat),
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Migrate database to current version
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user