diff --git a/dashboard/src/translation/en.json b/dashboard/src/translation/en.json index 934e202e4..84bdf7b38 100644 --- a/dashboard/src/translation/en.json +++ b/dashboard/src/translation/en.json @@ -932,7 +932,8 @@ "reportPlaceholder": "Describe your issue", "emailPlaceholder": "If needed, provide an email address different from above to reach you", "emailVerifyAction": "Verify now", - "emailNotVerified": "Your cloudron.io account email {{ email }} is not verified. Please verify it to open support tickets." + "emailNotVerified": "Your cloudron.io account email {{ email }} is not verified. Please verify it to open support tickets.", + "typeBilling": "Billing Issue" }, "remoteSupport": { "title": "Remote Support", diff --git a/dashboard/src/translation/nl.json b/dashboard/src/translation/nl.json index a658c1f8c..e7591bfc6 100644 --- a/dashboard/src/translation/nl.json +++ b/dashboard/src/translation/nl.json @@ -507,7 +507,8 @@ }, "changeBackgroundImage": { "title": "Stel achtergrond afbeelding in" - } + }, + "enable2FANotAvailable": "Niet beschikbaar voor gebruikers met een externe authenticatie bron" }, "backups": { "title": "Backups", diff --git a/dashboard/src/views/support.html b/dashboard/src/views/support.html index 8a8ea7fb0..8fadc48e3 100644 --- a/dashboard/src/views/support.html +++ b/dashboard/src/views/support.html @@ -33,6 +33,7 @@ diff --git a/src/routes/support.js b/src/routes/support.js index c85dd4dc0..a6edadfa1 100644 --- a/src/routes/support.js +++ b/src/routes/support.js @@ -41,7 +41,7 @@ async function canCreateTicket(req, res, next) { async function createTicket(req, res, next) { assert.strictEqual(typeof req.user, 'object'); - const VALID_TYPES = [ 'feedback', 'ticket', 'app_missing', 'app_error', 'upgrade_request', 'email_error' ]; + const VALID_TYPES = [ 'feedback', 'ticket', 'app_missing', 'app_error', 'upgrade_request', 'email_error', 'billing' ]; if (typeof req.body.type !== 'string' || !req.body.type) return next(new HttpError(400, 'type must be string')); if (VALID_TYPES.indexOf(req.body.type) === -1) return next(new HttpError(400, 'unknown type'));