Built motion from commit 598073ad.|2.5.44
[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 _0x1f01=['./authLocal.controller','post','login','/forgot','reset','exports','Router'];(function(_0xaaea0a,_0x45bc95){var _0x5c3546=function(_0x580f5c){while(--_0x580f5c){_0xaaea0a['push'](_0xaaea0a['shift']());}};_0x5c3546(++_0x45bc95);}(_0x1f01,0xa0));var _0x11f0=function(_0x5ab238,_0x4ddda9){_0x5ab238=_0x5ab238-0x0;var _0x236db6=_0x1f01[_0x5ab238];return _0x236db6;};'use strict';var express=require('express');var router=express[_0x11f0('0x0')]();var controller=require(_0x11f0('0x1'));router[_0x11f0('0x2')]('/',controller[_0x11f0('0x3')]);router[_0x11f0('0x2')](_0x11f0('0x4'),controller['forgot']);router[_0x11f0('0x2')]('/reset/:token',controller[_0x11f0('0x5')]);module[_0x11f0('0x6')]=router;