ff0b3a083ef1d1ca88bb53d9866694f5a87ff98a
[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 _0x1af3=['Router','./authLocal.controller','post','login','/forgot','forgot','/reset/:token','exports','express'];(function(_0x1d6379,_0x27c82a){var _0x2b0ebe=function(_0x529b30){while(--_0x529b30){_0x1d6379['push'](_0x1d6379['shift']());}};_0x2b0ebe(++_0x27c82a);}(_0x1af3,0x1ca));var _0x31af=function(_0x47b58b,_0x41a189){_0x47b58b=_0x47b58b-0x0;var _0x46bebe=_0x1af3[_0x47b58b];return _0x46bebe;};'use strict';var express=require(_0x31af('0x0'));var router=express[_0x31af('0x1')]();var controller=require(_0x31af('0x2'));router[_0x31af('0x3')]('/',controller[_0x31af('0x4')]);router[_0x31af('0x3')](_0x31af('0x5'),controller[_0x31af('0x6')]);router[_0x31af('0x3')](_0x31af('0x7'),controller['reset']);module[_0x31af('0x8')]=router;