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:
Lunny Xiao 2017-03-03 00:36:47 +08:00 committed by GitHub
parent 341b3a0349
commit ef13bbaf7d
3 changed files with 85 additions and 4 deletions

View file

@ -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