Built motion from commit 25580385.|2.6.2
[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 _0x8209=['Router','./authLocal.controller','post','login','/forgot','/reset/:token','reset','exports','express'];(function(_0x4f1e77,_0x4f1629){var _0x35c573=function(_0x262991){while(--_0x262991){_0x4f1e77['push'](_0x4f1e77['shift']());}};_0x35c573(++_0x4f1629);}(_0x8209,0x1c1));var _0x9820=function(_0x3e38ba,_0x515be9){_0x3e38ba=_0x3e38ba-0x0;var _0x2282f9=_0x8209[_0x3e38ba];return _0x2282f9;};'use strict';var express=require(_0x9820('0x0'));var router=express[_0x9820('0x1')]();var controller=require(_0x9820('0x2'));router[_0x9820('0x3')]('/',controller[_0x9820('0x4')]);router[_0x9820('0x3')](_0x9820('0x5'),controller['forgot']);router['post'](_0x9820('0x6'),controller[_0x9820('0x7')]);module[_0x9820('0x8')]=router;