diff options
Diffstat (limited to 'routes/admin/admin.go')
-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() |