Built motion from commit c2984ba.|0.0.114
[motion.git] / server / auth / local / passport.js
index fb20afe..25db536 100644 (file)
@@ -1 +1 @@
-var _0xc088=["\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\x2E","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x73\x65"];var passport=require(_0xc088[0]);var LocalStrategy=require(_0xc088[2])[_0xc088[1]];var Settings=require(_0xc088[4])[_0xc088[3]];var license=require(_0xc088[5]);exports[_0xc088[6]]=function(_0x6968x5,_0x6968x6){passport[_0xc088[17]](_0xc088[7], new LocalStrategy({usernameField:_0xc088[8],passwordField:_0xc088[9]},function(_0x6968x7,_0x6968x8,_0x6968x9){var _0x6968xa;var _0x6968xb;var _0x6968xc;return _0x6968x5[_0xc088[16]]({where:{name:_0x6968x7}})[_0xc088[12]](function(_0x6968xf){_0x6968xa=_0x6968xf;if(!_0x6968xa||!_0x6968xf[_0xc088[14]](_0x6968x8)){throw  new Error({message:_0xc088[15]})};return _0x6968xa})[_0xc088[12]](license[_0xc088[13]]())[_0xc088[12]](function(_0x6968xe){if(_0x6968xe){return _0x6968x9(null,_0x6968xa)}else {return _0x6968x9(null,false,{message:_0xc088[11]})}})[_0xc088[10]](function(_0x6968xd){return _0x6968x9(null,false,_0x6968xd)})}))}
\ No newline at end of file
+var _0x9028=["\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(_0x9028[0]);var LocalStrategy=require(_0x9028[2])[_0x9028[1]];var Settings=require(_0x9028[4])[_0x9028[3]];var license=require(_0x9028[5]);exports[_0x9028[6]]= function(_0xa622x5,_0xa622x6){passport[_0x9028[17]](_0x9028[7], new LocalStrategy({usernameField:_0x9028[8],passwordField:_0x9028[9]},function(_0xa622x7,_0xa622x8,_0xa622x9){var _0xa622xa;var _0xa622xb;var _0xa622xc;return _0xa622x5[_0x9028[16]]({where:{name:_0xa622x7}})[_0x9028[12]](function(_0xa622xf){_0xa622xa= _0xa622xf;if(!_0xa622xa|| !_0xa622xf[_0x9028[14]](_0xa622x8)){throw  new Error(_0x9028[15])};return _0xa622xa})[_0x9028[12]](license[_0x9028[13]]())[_0x9028[12]](function(_0xa622xe){if(_0xa622xe){return _0xa622x9(null,_0xa622xa)}else {return _0xa622x9(null,false,{message:_0x9028[11]})}})[_0x9028[10]](function(_0xa622xd){return _0xa622x9(_0xa622xd,false,null)})}))}
\ No newline at end of file