diff options
author | Unknwon <u@gogs.io> | 2018-03-30 01:26:36 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-03-30 01:26:36 -0400 |
commit | a855abf8c0de73fb3a9913000e1eb8d8ea9840ff (patch) | |
tree | cdf3bf423ad2104c1406cd9acb67d86511584e09 /routes | |
parent | 0d2398aaff7f887adf79e8c40f4ad4584036e7f5 (diff) |
models: rename RewriteAllPublicKeys -> RewriteAuthorizedKeys
Diffstat (limited to 'routes')
-rw-r--r-- | routes/admin/admin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/admin/admin.go b/routes/admin/admin.go index 2ef83523..e3ac5bdf 100644 --- a/routes/admin/admin.go +++ b/routes/admin/admin.go @@ -151,7 +151,7 @@ func Dashboard(c *context.Context) { err = models.GitGcRepos() case SYNC_SSH_AUTHORIZED_KEY: success = c.Tr("admin.dashboard.resync_all_sshkeys_success") - err = models.RewriteAllPublicKeys() + err = models.RewriteAuthorizedKeys() case SYNC_REPOSITORY_HOOKS: success = c.Tr("admin.dashboard.resync_all_hooks_success") err = models.SyncRepositoryHooks() |