a39f007b9dad3a7c61dfae329fafdf3f79b40c5e
[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 _0xede3=['login','forgot','/reset/:token','exports','express','Router','./authLocal.controller','post'];(function(_0x5a48a0,_0x5818fa){var _0x51fad9=function(_0x4f5165){while(--_0x4f5165){_0x5a48a0['push'](_0x5a48a0['shift']());}};_0x51fad9(++_0x5818fa);}(_0xede3,0x74));var _0x3ede=function(_0x1472d5,_0x55a2de){_0x1472d5=_0x1472d5-0x0;var _0x1290c0=_0xede3[_0x1472d5];return _0x1290c0;};'use strict';var express=require(_0x3ede('0x0'));var router=express[_0x3ede('0x1')]();var controller=require(_0x3ede('0x2'));router[_0x3ede('0x3')]('/',controller[_0x3ede('0x4')]);router['post']('/forgot',controller[_0x3ede('0x5')]);router[_0x3ede('0x3')](_0x3ede('0x6'),controller['reset']);module[_0x3ede('0x7')]=router;