master
1function(context, args) { // pwd_check:"pwd"
2 if(args) {
3 if(args.pwd_check) {
4 let {root} = #db.f({_id:"password"}).first();
5 return root === args.pwd_check;
6 }
7 }
8}