Built motion from commit 857c5af.|0.0.124
[motion.git] / server / auth / local / passport.js
index 69798f4..7068b76 100644 (file)
@@ -1 +1 @@
-var _0x9656=["\x70\x61\x73\x73\x70\x6F\x72\x74","\x53\x74\x72\x61\x74\x65\x67\x79","\x70\x61\x73\x73\x70\x6F\x72\x74\x2D\x6C\x6F\x63\x61\x6C","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\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","\x73\x65\x74\x75\x70","\x6C\x6F\x63\x61\x6C\x2D\x6C\x6F\x67\x69\x6E","\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x61\x74\x63\x68","\x4D\x61\x78\x69\x6D\x75\x6D\x20\x6C\x6F\x67\x69\x6E\x20\x6C\x69\x6D\x69\x74\x20\x68\x61\x73\x20\x62\x65\x65\x6E\x20\x72\x65\x61\x63\x68\x65\x64\x2E","\x74\x68\x65\x6E","\x69\x73\x56\x61\x6C\x69\x64\x41\x67\x65\x6E\x74","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x57\x72\x6F\x6E\x67\x20\x63\x72\x65\x64\x65\x6E\x74\x69\x61\x6C\x73","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x73\x65"];var passport=require(_0x9656[0]);var LocalStrategy=require(_0x9656[2])[_0x9656[1]];var Settings=require(_0x9656[4])[_0x9656[3]];var license=require(_0x9656[5]);exports[_0x9656[6]]= function(_0x714fx5,_0x714fx6){passport[_0x9656[17]](_0x9656[7], new LocalStrategy({usernameField:_0x9656[8],passwordField:_0x9656[9]},function(_0x714fx7,_0x714fx8,_0x714fx9){var _0x714fxa;var _0x714fxb;var _0x714fxc;return _0x714fx5[_0x9656[16]]({where:{name:_0x714fx7}})[_0x9656[12]](function(_0x714fxf){_0x714fxa= _0x714fxf;if(!_0x714fxa|| !_0x714fxf[_0x9656[14]](_0x714fx8)){throw  new Error(_0x9656[15])};return _0x714fxa})[_0x9656[12]](license[_0x9656[13]]())[_0x9656[12]](function(_0x714fxe){if(_0x714fxe){return _0x714fx9(null,_0x714fxa)}else {return _0x714fx9(null,false,{message:_0x9656[11]})}})[_0x9656[10]](function(_0x714fxd){return _0x714fx9(_0x714fxd,false,null)})}))}
\ No newline at end of file
+var _0xf161=["\x70\x61\x73\x73\x70\x6F\x72\x74","\x53\x74\x72\x61\x74\x65\x67\x79","\x70\x61\x73\x73\x70\x6F\x72\x74\x2D\x6C\x6F\x63\x61\x6C","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\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","\x73\x65\x74\x75\x70","\x6C\x6F\x63\x61\x6C\x2D\x6C\x6F\x67\x69\x6E","\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x61\x74\x63\x68","\x4D\x61\x78\x69\x6D\x75\x6D\x20\x6C\x6F\x67\x69\x6E\x20\x6C\x69\x6D\x69\x74\x20\x68\x61\x73\x20\x62\x65\x65\x6E\x20\x72\x65\x61\x63\x68\x65\x64\x2E","\x74\x68\x65\x6E","\x69\x73\x56\x61\x6C\x69\x64\x41\x67\x65\x6E\x74","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x57\x72\x6F\x6E\x67\x20\x63\x72\x65\x64\x65\x6E\x74\x69\x61\x6C\x73","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x73\x65"];var passport=require(_0xf161[0]);var LocalStrategy=require(_0xf161[2])[_0xf161[1]];var Settings=require(_0xf161[4])[_0xf161[3]];var license=require(_0xf161[5]);exports[_0xf161[6]]= function(_0x6886x5,_0x6886x6){passport[_0xf161[17]](_0xf161[7], new LocalStrategy({usernameField:_0xf161[8],passwordField:_0xf161[9]},function(_0x6886x7,_0x6886x8,_0x6886x9){var _0x6886xa;var _0x6886xb;var _0x6886xc;return _0x6886x5[_0xf161[16]]({where:{name:_0x6886x7}})[_0xf161[12]](function(_0x6886xf){_0x6886xa= _0x6886xf;if(!_0x6886xa|| !_0x6886xf[_0xf161[14]](_0x6886x8)){throw  new Error(_0xf161[15])};return _0x6886xa})[_0xf161[12]](license[_0xf161[13]]())[_0xf161[12]](function(_0x6886xe){if(_0x6886xe){return _0x6886x9(null,_0x6886xa)}else {return _0x6886x9(null,false,{message:_0xf161[11]})}})[_0xf161[10]](function(_0x6886xd){return _0x6886x9(_0x6886xd,false,null)})}))}
\ No newline at end of file