Built motion from commit 092f8824.|2.5.49
[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 _0x0e34=['Router','./authLocal.controller','forgot','/reset/:token','reset','exports','express'];(function(_0x43ddeb,_0x12b24d){var _0x4e068e=function(_0x8bf1c1){while(--_0x8bf1c1){_0x43ddeb['push'](_0x43ddeb['shift']());}};_0x4e068e(++_0x12b24d);}(_0x0e34,0x76));var _0x40e3=function(_0x546903,_0x2a0e05){_0x546903=_0x546903-0x0;var _0x80f598=_0x0e34[_0x546903];return _0x80f598;};'use strict';var express=require(_0x40e3('0x0'));var router=express[_0x40e3('0x1')]();var controller=require(_0x40e3('0x2'));router['post']('/',controller['login']);router['post']('/forgot',controller[_0x40e3('0x3')]);router['post'](_0x40e3('0x4'),controller[_0x40e3('0x5')]);module[_0x40e3('0x6')]=router;