c424743ee30f84cd5cf6e46aa70ef342eb626f6e
[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 _0xe072=['Router','./authLocal.controller','login','post','/forgot','forgot','/reset/:token','exports'];(function(_0x2bf5d1,_0x14e28f){var _0x3472c6=function(_0xa369da){while(--_0xa369da){_0x2bf5d1['push'](_0x2bf5d1['shift']());}};_0x3472c6(++_0x14e28f);}(_0xe072,0xc0));var _0x2e07=function(_0x18db4d,_0x488874){_0x18db4d=_0x18db4d-0x0;var _0x3d9218=_0xe072[_0x18db4d];return _0x3d9218;};'use strict';var express=require('express');var router=express[_0x2e07('0x0')]();var controller=require(_0x2e07('0x1'));router['post']('/',controller[_0x2e07('0x2')]);router[_0x2e07('0x3')](_0x2e07('0x4'),controller[_0x2e07('0x5')]);router['post'](_0x2e07('0x6'),controller['reset']);module[_0x2e07('0x7')]=router;