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:
Pierre Noël 2022-08-02 12:00:51 +02:00 committed by GitHub
commit 21d8cad4af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -2,4 +2,7 @@ module.exports = ({ env }) => ({
auth: {
secret: env('ADMIN_JWT_SECRET', '<%= adminJwtToken %>'),
},
apiToken: {
salt: env('API_TOKEN_SALT'),
},
});

View File

@ -2,4 +2,7 @@ export default ({ env }) => ({
auth: {
secret: env('ADMIN_JWT_SECRET', '<%= adminJwtToken %>'),
},
apiToken: {
salt: env('API_TOKEN_SALT'),
},
});