2021-08-19 16:49:33 +02:00

24 lines
408 B
JavaScript

'use strict';
module.exports = {
default: ({ env }) => ({
jwtSecret: env('JWT_SECRET'),
jwt: {
expiresIn: '30d',
},
ratelimit: {
interval: 60000,
max: 10,
},
layout: {
user: {
actions: {
create: 'User.create', // Use the User plugin's controller.
update: 'User.update',
},
},
},
}),
validator: () => {},
};