Built motion from commit fe909640.|2.6.8
[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 _0xcaae=['express','Router','post','login','/forgot','/reset/:token','exports'];(function(_0x13d07a,_0x41efc3){var _0x5ee0ee=function(_0x4ca94a){while(--_0x4ca94a){_0x13d07a['push'](_0x13d07a['shift']());}};_0x5ee0ee(++_0x41efc3);}(_0xcaae,0x1d5));var _0xecaa=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xcaae[_0x3dd15e];return _0x231fd0;};'use strict';var express=require(_0xecaa('0x0'));var router=express[_0xecaa('0x1')]();var controller=require('./authLocal.controller');router[_0xecaa('0x2')]('/',controller[_0xecaa('0x3')]);router[_0xecaa('0x2')](_0xecaa('0x4'),controller['forgot']);router[_0xecaa('0x2')](_0xecaa('0x5'),controller['reset']);module[_0xecaa('0x6')]=router;