Built motion from commit bab6f49e.|2.6.17
[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 _0xde36=['./authLocal.controller','post','/reset/:token','express'];(function(_0xe33285,_0x7f474){var _0x31ca6b=function(_0x51b2a6){while(--_0x51b2a6){_0xe33285['push'](_0xe33285['shift']());}};_0x31ca6b(++_0x7f474);}(_0xde36,0x1eb));var _0x6de3=function(_0x52ea51,_0x3caa76){_0x52ea51=_0x52ea51-0x0;var _0x1fd077=_0xde36[_0x52ea51];return _0x1fd077;};'use strict';var express=require(_0x6de3('0x0'));var router=express['Router']();var controller=require(_0x6de3('0x1'));router[_0x6de3('0x2')]('/',controller['login']);router['post']('/forgot',controller['forgot']);router[_0x6de3('0x2')](_0x6de3('0x3'),controller['reset']);module['exports']=router;