mirror of
https://github.com/HeyPuter/puter.git
synced 2026-10-01 09:38:21 +00:00
Implement backend for 2FA
This commit is contained in:
@@ -331,6 +331,10 @@ module.exports = class APIError {
|
||||
status: 403,
|
||||
message: 'Attempted to create an access token with no permissions.',
|
||||
},
|
||||
'invalid_action': {
|
||||
status: 400,
|
||||
message: ({ action }) => `Invalid action: ${quot(action)}.`,
|
||||
},
|
||||
|
||||
// Object Mapping
|
||||
'field_not_allowed_for_create': {
|
||||
|
||||
Reference in New Issue
Block a user