Create admin.js in config
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
const forgotPasswordTemplate = require('./email-templates/forgot-password');
|
||||||
|
|
||||||
|
|
||||||
|
module.exports = ({ env }) => ({
|
||||||
|
url: env('STRAPI_ADMIN_URL', '/admin'),
|
||||||
|
apiToken: {
|
||||||
|
salt: env('API_TOKEN_SALT', 'd9b0df66ff97a666027e665707b4e3e7'),
|
||||||
|
},
|
||||||
|
auth: {
|
||||||
|
secret: env('ADMIN_JWT_SECRET', '77b2c87dbab4e1697bec244226fbd1b3'),
|
||||||
|
},
|
||||||
|
forgotPassword: {
|
||||||
|
from: env('SMTP_FROM'),
|
||||||
|
replyTo: env('SMTP_REPLY_TO'),
|
||||||
|
emailTemplate: forgotPasswordTemplate,
|
||||||
|
},
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user