···7575 logger.Critical(
7676 "authorized_keys file %q is out of date.\nRegenerate it with:\n\t\"%s\"\nor\n\t\"%s\"",
7777 fPath,
7878- "gitea admin regenerate keys",
7979- "gitea doctor --run authorized-keys --fix")
8080- return fmt.Errorf(`authorized_keys is out of date and should be regenerated with "gitea admin regenerate keys" or "gitea doctor --run authorized-keys --fix"`)
7878+ "forgejo admin regenerate keys",
7979+ "forgejo doctor check --run authorized-keys --fix")
8080+ return fmt.Errorf(`authorized_keys is out of date and should be regenerated with "forgejo admin regenerate keys" or "forgejo doctor check --run authorized-keys --fix"`)
8181 }
8282 logger.Warn("authorized_keys is out of date. Attempting rewrite...")
8383 err = asymkey_model.RewriteAllPublicKeys(ctx)