Built motion from commit 57199c8.|0.0.38
[motion.git] / server / auth / local / passport.js
index 38cb433..c10710e 100644 (file)
@@ -1 +1 @@
-var _0x5bc5=["\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","\x6C\x6F\x67","\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\x2E","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x73\x65"];var passport=require(_0x5bc5[0]);var LocalStrategy=require(_0x5bc5[2])[_0x5bc5[1]];var Settings=require(_0x5bc5[4])[_0x5bc5[3]];var license=require(_0x5bc5[5]);exports[_0x5bc5[6]]=function(_0x57eex5,_0x57eex6){passport[_0x5bc5[18]](_0x5bc5[7], new LocalStrategy({usernameField:_0x5bc5[8],passwordField:_0x5bc5[9]},function(_0x57eex7,_0x57eex8,_0x57eex9){var _0x57eexa;var _0x57eexb;var _0x57eexc;return _0x57eex5[_0x5bc5[17]]({where:{name:_0x57eex7}})[_0x5bc5[12]](function(_0x57eexf){console[_0x5bc5[14]](_0x57eexf);_0x57eexa=_0x57eexf;if(!_0x57eexa||!_0x57eexf[_0x5bc5[15]](_0x57eex8)){throw  new Error({message:_0x5bc5[16]})};return _0x57eexa;})[_0x5bc5[12]](license[_0x5bc5[13]]())[_0x5bc5[12]](function(_0x57eexe){if(_0x57eexe){return _0x57eex9(null,_0x57eexa)}else {return _0x57eex9(null,false,{message:_0x5bc5[11]})}})[_0x5bc5[10]](function(_0x57eexd){return _0x57eex9(null,false,_0x57eexd)});}))};
\ No newline at end of file
+var _0x1f5f=["\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","\x6C\x6F\x67","\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\x2E","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x73\x65"];var passport=require(_0x1f5f[0]);var LocalStrategy=require(_0x1f5f[2])[_0x1f5f[1]];var Settings=require(_0x1f5f[4])[_0x1f5f[3]];var license=require(_0x1f5f[5]);exports[_0x1f5f[6]]=function(_0x6416x5,_0x6416x6){passport[_0x1f5f[18]](_0x1f5f[7], new LocalStrategy({usernameField:_0x1f5f[8],passwordField:_0x1f5f[9]},function(_0x6416x7,_0x6416x8,_0x6416x9){var _0x6416xa;var _0x6416xb;var _0x6416xc;return _0x6416x5[_0x1f5f[17]]({where:{name:_0x6416x7}})[_0x1f5f[12]](function(_0x6416xf){console[_0x1f5f[14]](_0x6416xf);_0x6416xa=_0x6416xf;if(!_0x6416xa||!_0x6416xf[_0x1f5f[15]](_0x6416x8)){throw  new Error({message:_0x1f5f[16]})};return _0x6416xa;})[_0x1f5f[12]](license[_0x1f5f[13]]())[_0x1f5f[12]](function(_0x6416xe){if(_0x6416xe){return _0x6416x9(null,_0x6416xa)}else {return _0x6416x9(null,false,{message:_0x1f5f[11]})}})[_0x1f5f[10]](function(_0x6416xd){return _0x6416x9(null,false,_0x6416xd)});}))};
\ No newline at end of file