Remove log and fix email reset password 404

This commit is contained in:
Jim Laurie 2017-12-04 13:40:07 +01:00
parent b195ae0ef8
commit 74164aa38a
4 changed files with 3 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -17,7 +17,7 @@ module.exports = {
try {
// Default values.
options = _.isObject(options) ? options : {};
options.from = 'admin@strapiapp.com';
options.from = 'admin-dashboard@your-strapi-app.com';
options.text = options.text || options.html;
options.html = options.html || options.text;

View File

@ -133,7 +133,7 @@ module.exports = {
html: url + '?code=' + resetPasswordToken
});
ctx.send();
ctx.send({ ok: true });
},
changePassword: async (ctx) => {

View File

@ -48,7 +48,6 @@ module.exports = {
},
getActions: () => {
console.log(strapi);
const generateActions = (data) => (
Object.keys(data).reduce((acc, key) => {
acc[key] = { enabled: false, policy: '' };