mirror of
https://github.com/strapi/strapi.git
synced 2025-07-12 11:31:38 +00:00
24 lines
431 B
JavaScript
24 lines
431 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
default: ({ env }) => ({
|
|
jwtSecret: env('JWT_SECRET'),
|
|
jwt: {
|
|
expiresIn: '30d',
|
|
},
|
|
ratelimit: {
|
|
interval: 60000,
|
|
max: 10,
|
|
},
|
|
layout: {
|
|
user: {
|
|
actions: {
|
|
create: 'contentManagerUser.create', // Use the User plugin's controller.
|
|
update: 'contentManagerUser.update',
|
|
},
|
|
},
|
|
},
|
|
}),
|
|
validator() {},
|
|
};
|