ec560c5b17c994c5dee3495c66dbad71fd705af1
[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 _0xdf03=['/forgot','forgot','reset','express','Router','./authLocal.controller','login','post'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xdf03,0x73));var _0x3df0=function(_0x5e2751,_0x518a55){_0x5e2751=_0x5e2751-0x0;var _0x139a39=_0xdf03[_0x5e2751];return _0x139a39;};'use strict';var express=require(_0x3df0('0x0'));var router=express[_0x3df0('0x1')]();var controller=require(_0x3df0('0x2'));router['post']('/',controller[_0x3df0('0x3')]);router[_0x3df0('0x4')](_0x3df0('0x5'),controller[_0x3df0('0x6')]);router[_0x3df0('0x4')]('/reset/:token',controller[_0x3df0('0x7')]);module['exports']=router;