cloudron-support: enable-ssh has an alias enable-remote-support

This commit is contained in:
Girish Ramakrishnan
2024-09-19 08:38:59 +02:00
parent e8850eeac2
commit f526695aae
+1 -1
View File
@@ -41,7 +41,7 @@ async function enableRemoteSupport(req, res, next) {
if (typeof req.body.enable !== 'boolean') return next(new HttpError(400, 'enabled is required'));
const [error] = await safe(support.enableRemoteSupport(req.body.enable, AuditSource.fromRequest(req)));
if (error) return next(new HttpError(503, 'Error enabling remote support. Try running "cloudron-support --enable-ssh" on the server'));
if (error) return next(new HttpError(503, 'Error enabling remote support. Try running "cloudron-support --enable-remote-support" on the server'));
next(new HttpSuccess(202, {}));
}