b09a883440f48c1816315f773dd486bf3dd9907c
[motion2.git] / server / api / authLocal / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xca1c=['reset','express','Router','./authLocal.controller','post','login','/forgot','/reset/:token'];(function(_0x3c5ba5,_0x43a289){var _0x2e5cbf=function(_0x2504bc){while(--_0x2504bc){_0x3c5ba5['push'](_0x3c5ba5['shift']());}};_0x2e5cbf(++_0x43a289);}(_0xca1c,0xb9));var _0xcca1=function(_0x436c01,_0x5629da){_0x436c01=_0x436c01-0x0;var _0x3d0a70=_0xca1c[_0x436c01];return _0x3d0a70;};'use strict';var express=require(_0xcca1('0x0'));var router=express[_0xcca1('0x1')]();var controller=require(_0xcca1('0x2'));router[_0xcca1('0x3')]('/',controller[_0xcca1('0x4')]);router['post'](_0xcca1('0x5'),controller['forgot']);router[_0xcca1('0x3')](_0xcca1('0x6'),controller[_0xcca1('0x7')]);module['exports']=router;