Built motion from commit ac7b556.|0.0.81
[motion.git] / server / auth / local / index.js
index fb4d169..69b5824 100644 (file)
@@ -1 +1 @@
-var _0xcaa1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x70\x61\x73\x73\x70\x6F\x72\x74","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x63\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x76\x6F\x69\x63\x65","\x63\x68\x61\x74","\x6D\x61\x69\x6C","\x66\x61\x78","\x2F","\x6C\x6F\x63\x61\x6C\x2D\x6C\x6F\x67\x69\x6E","\x6A\x73\x6F\x6E","\x73\x74\x61\x74\x75\x73","\x53\x6F\x6D\x65\x74\x68\x69\x6E\x67\x20\x77\x65\x6E\x74\x20\x77\x72\x6F\x6E\x67\x2C\x20\x70\x6C\x65\x61\x73\x65\x20\x74\x72\x79\x20\x61\x67\x61\x69\x6E\x2E","\x63\x61\x74\x63\x68","\x72\x6F\x6C\x65","\x69\x64","\x72\x65\x6D\x65\x6D\x62\x65\x72","\x62\x6F\x64\x79","\x73\x69\x67\x6E\x54\x6F\x6B\x65\x6E","\x74\x68\x65\x6E","\x6C\x6F\x67\x69\x6E","\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x6C\x6F\x67\x6F\x75\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x6C\x6F\x67\x6F\x75\x74","\x72\x65\x64\x69\x72\x65\x63\x74","\x75\x73\x65\x72","\x67\x65\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xcaa1[0];var express=require(_0xcaa1[1]);var passport=require(_0xcaa1[2]);var async=require(_0xcaa1[3]);var auth=require(_0xcaa1[4]);var User=require(_0xcaa1[6])[_0xcaa1[5]];var Action=require(_0xcaa1[6])[_0xcaa1[7]];var ReportMember=require(_0xcaa1[6])[_0xcaa1[8]];var license=require(_0xcaa1[9]);var channels=[_0xcaa1[10],_0xcaa1[11],_0xcaa1[12],_0xcaa1[13]];var router=express.Router();router[_0xcaa1[30]](_0xcaa1[14],function(_0xbfb3xb,_0xbfb3xc,_0xbfb3xd){passport[_0xcaa1[29]](_0xcaa1[15],function(_0xbfb3xe,_0xbfb3xf,_0xbfb3x10){var _0xbfb3x11=_0xbfb3xe||_0xbfb3x10;if(_0xbfb3x11){return _0xbfb3xc[_0xcaa1[17]](401)[_0xcaa1[16]](_0xbfb3x11)};if(!_0xbfb3xf){return _0xbfb3xc[_0xcaa1[17]](404)[_0xcaa1[16]]({message:_0xcaa1[18]})};return Action[_0xcaa1[28]]({name:_0xcaa1[26],data1:_0xbfb3xf[_0xcaa1[21]],data2:_0xbfb3xf[_0xcaa1[27]],UserId:_0xbfb3xf[_0xcaa1[21]]})[_0xcaa1[25]](function(_0xbfb3x12){return _0xbfb3xc[_0xcaa1[16]]({role:_0xbfb3xf[_0xcaa1[20]],token:auth[_0xcaa1[24]](_0xbfb3xf[_0xcaa1[21]],_0xbfb3xf[_0xcaa1[20]],_0xbfb3xb[_0xcaa1[23]][_0xcaa1[22]]||false),userId:_0xbfb3xf[_0xcaa1[21]]})})[_0xcaa1[19]](function(_0xbfb3xe){return _0xbfb3xd(_0xbfb3xe)})})(_0xbfb3xb,_0xbfb3xc,_0xbfb3xd)});router[_0xcaa1[36]](_0xcaa1[31],auth[_0xcaa1[32]](),function(_0xbfb3xb,_0xbfb3xc,_0xbfb3xd){return Action[_0xcaa1[28]]({name:_0xcaa1[33],data1:_0xbfb3xb[_0xcaa1[35]][_0xcaa1[21]],data2:_0xbfb3xb[_0xcaa1[35]][_0xcaa1[27]],UserId:_0xbfb3xb[_0xcaa1[35]][_0xcaa1[21]]})[_0xcaa1[25]](function(){_0xbfb3xb[_0xcaa1[33]]();_0xbfb3xc[_0xcaa1[34]](_0xcaa1[14])})[_0xcaa1[19]](function(_0xbfb3xe){return _0xbfb3xd(_0xbfb3xe)})});module[_0xcaa1[37]]=router
\ No newline at end of file
+var _0xa801=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x70\x61\x73\x73\x70\x6F\x72\x74","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x63\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x76\x6F\x69\x63\x65","\x63\x68\x61\x74","\x6D\x61\x69\x6C","\x66\x61\x78","\x2F","\x6C\x6F\x63\x61\x6C\x2D\x6C\x6F\x67\x69\x6E","\x6A\x73\x6F\x6E","\x73\x74\x61\x74\x75\x73","\x53\x6F\x6D\x65\x74\x68\x69\x6E\x67\x20\x77\x65\x6E\x74\x20\x77\x72\x6F\x6E\x67\x2C\x20\x70\x6C\x65\x61\x73\x65\x20\x74\x72\x79\x20\x61\x67\x61\x69\x6E\x2E","\x63\x61\x74\x63\x68","\x72\x6F\x6C\x65","\x69\x64","\x72\x65\x6D\x65\x6D\x62\x65\x72","\x62\x6F\x64\x79","\x73\x69\x67\x6E\x54\x6F\x6B\x65\x6E","\x74\x68\x65\x6E","\x6C\x6F\x67\x69\x6E","\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x6C\x6F\x67\x6F\x75\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x6C\x6F\x67\x6F\x75\x74","\x72\x65\x64\x69\x72\x65\x63\x74","\x75\x73\x65\x72","\x67\x65\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xa801[0];var express=require(_0xa801[1]);var passport=require(_0xa801[2]);var async=require(_0xa801[3]);var auth=require(_0xa801[4]);var User=require(_0xa801[6])[_0xa801[5]];var Action=require(_0xa801[6])[_0xa801[7]];var ReportMember=require(_0xa801[6])[_0xa801[8]];var license=require(_0xa801[9]);var channels=[_0xa801[10],_0xa801[11],_0xa801[12],_0xa801[13]];var router=express.Router();router[_0xa801[30]](_0xa801[14],function(_0x39f5xb,_0x39f5xc,_0x39f5xd){passport[_0xa801[29]](_0xa801[15],function(_0x39f5xe,_0x39f5xf,_0x39f5x10){var _0x39f5x11=_0x39f5xe||_0x39f5x10;if(_0x39f5x11){return _0x39f5xc[_0xa801[17]](401)[_0xa801[16]](_0x39f5x11)};if(!_0x39f5xf){return _0x39f5xc[_0xa801[17]](404)[_0xa801[16]]({message:_0xa801[18]})};return Action[_0xa801[28]]({name:_0xa801[26],data1:_0x39f5xf[_0xa801[21]],data2:_0x39f5xf[_0xa801[27]],UserId:_0x39f5xf[_0xa801[21]]})[_0xa801[25]](function(_0x39f5x12){return _0x39f5xc[_0xa801[16]]({role:_0x39f5xf[_0xa801[20]],token:auth[_0xa801[24]](_0x39f5xf[_0xa801[21]],_0x39f5xf[_0xa801[20]],_0x39f5xb[_0xa801[23]][_0xa801[22]]||false),userId:_0x39f5xf[_0xa801[21]]})})[_0xa801[19]](function(_0x39f5xe){return _0x39f5xd(_0x39f5xe)})})(_0x39f5xb,_0x39f5xc,_0x39f5xd)});router[_0xa801[36]](_0xa801[31],auth[_0xa801[32]](),function(_0x39f5xb,_0x39f5xc,_0x39f5xd){return Action[_0xa801[28]]({name:_0xa801[33],data1:_0x39f5xb[_0xa801[35]][_0xa801[21]],data2:_0x39f5xb[_0xa801[35]][_0xa801[27]],UserId:_0x39f5xb[_0xa801[35]][_0xa801[21]]})[_0xa801[25]](function(){_0x39f5xb[_0xa801[33]]();_0x39f5xc[_0xa801[34]](_0xa801[14])})[_0xa801[19]](function(_0x39f5xe){return _0x39f5xd(_0x39f5xe)})});module[_0xa801[37]]=router
\ No newline at end of file