X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fauth%2Flocal%2Fpassport.js;h=3a94232fc684559947af3df58d80031ed04792fd;hb=8cbdcd4e45ab5844053386a9705321556462c3b6;hp=f2870259408b70955c6acdc63ef7f4bd255fc669;hpb=66c1f0a6f171da68b8a044ba3c4efbd6afd883b6;p=motion.git diff --git a/server/auth/local/passport.js b/server/auth/local/passport.js index f287025..3a94232 100644 --- a/server/auth/local/passport.js +++ b/server/auth/local/passport.js @@ -1 +1 @@ -var _0xc1ac=["\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(_0xc1ac[0]);var LocalStrategy=require(_0xc1ac[2])[_0xc1ac[1]];var Settings=require(_0xc1ac[4])[_0xc1ac[3]];var license=require(_0xc1ac[5]);exports[_0xc1ac[6]]= function(_0x9e2ex5,_0x9e2ex6){passport[_0xc1ac[17]](_0xc1ac[7], new LocalStrategy({usernameField:_0xc1ac[8],passwordField:_0xc1ac[9]},function(_0x9e2ex7,_0x9e2ex8,_0x9e2ex9){var _0x9e2exa;var _0x9e2exb;var _0x9e2exc;return _0x9e2ex5[_0xc1ac[16]]({where:{name:_0x9e2ex7}})[_0xc1ac[12]](function(_0x9e2exf){_0x9e2exa= _0x9e2exf;if(!_0x9e2exa|| !_0x9e2exf[_0xc1ac[14]](_0x9e2ex8)){throw new Error(_0xc1ac[15])};return _0x9e2exa})[_0xc1ac[12]](license[_0xc1ac[13]]())[_0xc1ac[12]](function(_0x9e2exe){if(_0x9e2exe){return _0x9e2ex9(null,_0x9e2exa)}else {return _0x9e2ex9(null,false,{message:_0xc1ac[11]})}})[_0xc1ac[10]](function(_0x9e2exd){return _0x9e2ex9(_0x9e2exd,false,null)})}))} \ No newline at end of file +var _0xef7d=["\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(_0xef7d[0]);var LocalStrategy=require(_0xef7d[2])[_0xef7d[1]];var Settings=require(_0xef7d[4])[_0xef7d[3]];var license=require(_0xef7d[5]);exports[_0xef7d[6]]= function(_0x3ef3x5,_0x3ef3x6){passport[_0xef7d[17]](_0xef7d[7], new LocalStrategy({usernameField:_0xef7d[8],passwordField:_0xef7d[9]},function(_0x3ef3x7,_0x3ef3x8,_0x3ef3x9){var _0x3ef3xa;var _0x3ef3xb;var _0x3ef3xc;return _0x3ef3x5[_0xef7d[16]]({where:{name:_0x3ef3x7}})[_0xef7d[12]](function(_0x3ef3xf){_0x3ef3xa= _0x3ef3xf;if(!_0x3ef3xa|| !_0x3ef3xf[_0xef7d[14]](_0x3ef3x8)){throw new Error(_0xef7d[15])};return _0x3ef3xa})[_0xef7d[12]](license[_0xef7d[13]]())[_0xef7d[12]](function(_0x3ef3xe){if(_0x3ef3xe){return _0x3ef3x9(null,_0x3ef3xa)}else {return _0x3ef3x9(null,false,{message:_0xef7d[11]})}})[_0xef7d[10]](function(_0x3ef3xd){return _0x3ef3x9(_0x3ef3xd,false,null)})}))} \ No newline at end of file