511c536a93b1e5c72deb814526f473d3cadd6b37
[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 _0x4756=['exports','express','./authLocal.controller','post','forgot','/reset/:token','reset'];(function(_0x3fced3,_0x2bd87c){var _0x24b471=function(_0x4fd055){while(--_0x4fd055){_0x3fced3['push'](_0x3fced3['shift']());}};_0x24b471(++_0x2bd87c);}(_0x4756,0x17b));var _0x6475=function(_0x1fa31f,_0x2c71a3){_0x1fa31f=_0x1fa31f-0x0;var _0x1077a8=_0x4756[_0x1fa31f];return _0x1077a8;};'use strict';var express=require(_0x6475('0x0'));var router=express['Router']();var controller=require(_0x6475('0x1'));router[_0x6475('0x2')]('/',controller['login']);router['post']('/forgot',controller[_0x6475('0x3')]);router[_0x6475('0x2')](_0x6475('0x4'),controller[_0x6475('0x5')]);module[_0x6475('0x6')]=router;