Built motion from commit d6d69adf.|2.6.33
[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 _0xe48a=['Router','./authLocal.controller','post','login','/forgot','/reset/:token','reset'];(function(_0x323d87,_0x4ef3f9){var _0x5e8f74=function(_0x185735){while(--_0x185735){_0x323d87['push'](_0x323d87['shift']());}};_0x5e8f74(++_0x4ef3f9);}(_0xe48a,0x1e3));var _0xae48=function(_0xf43cb,_0x465374){_0xf43cb=_0xf43cb-0x0;var _0x14e869=_0xe48a[_0xf43cb];return _0x14e869;};'use strict';var express=require('express');var router=express[_0xae48('0x0')]();var controller=require(_0xae48('0x1'));router[_0xae48('0x2')]('/',controller[_0xae48('0x3')]);router[_0xae48('0x2')](_0xae48('0x4'),controller['forgot']);router['post'](_0xae48('0x5'),controller[_0xae48('0x6')]);module['exports']=router;