Built motion from commit 497d3d92.|2.5.43
[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 _0xfcfc=['post','forgot','/reset/:token','reset','exports','express','Router'];(function(_0x44fd6b,_0x338098){var _0x7cba12=function(_0x5a6bb5){while(--_0x5a6bb5){_0x44fd6b['push'](_0x44fd6b['shift']());}};_0x7cba12(++_0x338098);}(_0xfcfc,0xde));var _0xcfcf=function(_0xbe22b6,_0x52be77){_0xbe22b6=_0xbe22b6-0x0;var _0xb5fa3d=_0xfcfc[_0xbe22b6];return _0xb5fa3d;};'use strict';var express=require(_0xcfcf('0x0'));var router=express[_0xcfcf('0x1')]();var controller=require('./authLocal.controller');router[_0xcfcf('0x2')]('/',controller['login']);router['post']('/forgot',controller[_0xcfcf('0x3')]);router[_0xcfcf('0x2')](_0xcfcf('0x4'),controller[_0xcfcf('0x5')]);module[_0xcfcf('0x6')]=router;