mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-30 01:17:28 +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() {},
 | |
| };
 | 
