backend-plus 1.19.3 → 1.19.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -481,7 +481,7 @@ AppBackend.prototype.isAdmin = function isAdmin(reqOrContext){
481
481
  return reqOrContext && (reqOrContext.forDump || reqOrContext.user && reqOrContext.user[be.config.login.rolFieldName] == 'admin');
482
482
  }
483
483
 
484
- AppBackend.prototype.canChangePass = async function isAdmin(reqOrContext, _userToChangePass){
484
+ AppBackend.prototype.canChangePass = async function canChangePass(reqOrContext, _userToChangePass){
485
485
  var be = this;
486
486
  return be.isAdmin(reqOrContext);
487
487
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "backend-plus",
3
3
  "description": "Backend for typed controls",
4
- "version": "1.19.3",
4
+ "version": "1.19.4",
5
5
  "author": "Codenautas <codenautas@googlegroups.com>",
6
6
  "license": "MIT",
7
7
  "repository": "codenautas/backend-plus",