7846c9b1f90e4627d2f1b829d85679a6ab00fad4
[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 _0x8df5=['login','/forgot','/reset/:token','reset','exports','express','Router','./authLocal.controller','post'];(function(_0x39e7fe,_0x467138){var _0x33e9e8=function(_0x44d188){while(--_0x44d188){_0x39e7fe['push'](_0x39e7fe['shift']());}};_0x33e9e8(++_0x467138);}(_0x8df5,0x1c7));var _0x58df=function(_0x7bece4,_0x347a1a){_0x7bece4=_0x7bece4-0x0;var _0x54ca54=_0x8df5[_0x7bece4];return _0x54ca54;};'use strict';var express=require(_0x58df('0x0'));var router=express[_0x58df('0x1')]();var controller=require(_0x58df('0x2'));router[_0x58df('0x3')]('/',controller[_0x58df('0x4')]);router[_0x58df('0x3')](_0x58df('0x5'),controller['forgot']);router[_0x58df('0x3')](_0x58df('0x6'),controller[_0x58df('0x7')]);module[_0x58df('0x8')]=router;