288f6e87470d1d9dccec1bf0796dcb0621447a53
[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 _0xa879=['login','/forgot','/reset/:token','express','Router','./authLocal.controller','post'];(function(_0x2730da,_0x1098bd){var _0xfe9991=function(_0x2ea521){while(--_0x2ea521){_0x2730da['push'](_0x2730da['shift']());}};_0xfe9991(++_0x1098bd);}(_0xa879,0x1c3));var _0x9a87=function(_0x371c9e,_0x3b80d1){_0x371c9e=_0x371c9e-0x0;var _0x3ae1b7=_0xa879[_0x371c9e];return _0x3ae1b7;};'use strict';var express=require(_0x9a87('0x0'));var router=express[_0x9a87('0x1')]();var controller=require(_0x9a87('0x2'));router[_0x9a87('0x3')]('/',controller[_0x9a87('0x4')]);router['post'](_0x9a87('0x5'),controller['forgot']);router['post'](_0x9a87('0x6'),controller['reset']);module['exports']=router;