mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 01:47:13 +00:00 
			
		
		
		
	Merge pull request #13934 from strapi/fix/add-api-token-salt-in-created-projects
Add apiToken.salt directly in the config of created projects
This commit is contained in:
		
						commit
						21d8cad4af
					
				| @ -2,4 +2,7 @@ module.exports = ({ env }) => ({ | ||||
|   auth: { | ||||
|     secret: env('ADMIN_JWT_SECRET', '<%= adminJwtToken %>'), | ||||
|   }, | ||||
|   apiToken: { | ||||
|     salt: env('API_TOKEN_SALT'), | ||||
|   }, | ||||
| }); | ||||
|  | ||||
| @ -2,4 +2,7 @@ export default ({ env }) => ({ | ||||
|   auth: { | ||||
|     secret: env('ADMIN_JWT_SECRET', '<%= adminJwtToken %>'), | ||||
|   }, | ||||
|   apiToken: { | ||||
|     salt: env('API_TOKEN_SALT'), | ||||
|   }, | ||||
| }); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Pierre Noël
						Pierre Noël