refs #5762 feat: multiplatform recover-password and change-password #1673

Merged
alexm merged 6 commits from 5762-recoverPassword-multiplatform into dev 2023-08-09 13:14:55 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 125d908c5d - Show all commits

View File

@ -161,9 +161,9 @@ module.exports = function(Self) {
}
};
// Self.sharedClass._methods.find(method => method.name == 'changePassword').ctor.settings.acls =
// Self.sharedClass._methods.find(method => method.name == 'changePassword').ctor.settings.acls
// .filter(acl => acl.property != 'changePassword');
Self.sharedClass._methods.find(method => method.name == 'changePassword').ctor.settings.acls =
Self.sharedClass._methods.find(method => method.name == 'changePassword').ctor.settings.acls
.filter(acl => acl.property != 'changePassword');
// FIXME: https://redmine.verdnatura.es/issues/5761
// Self.afterRemote('prototype.patchAttributes', async(ctx, instance) => {