a9be3407dd5e3850a3da8a7d8ac6f1c032160147
[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 _0x75f7=['/forgot','forgot','reset','express','Router','post'];(function(_0x1d52e8,_0x41903e){var _0x298689=function(_0x457769){while(--_0x457769){_0x1d52e8['push'](_0x1d52e8['shift']());}};_0x298689(++_0x41903e);}(_0x75f7,0x123));var _0x775f=function(_0x18b0da,_0x30f168){_0x18b0da=_0x18b0da-0x0;var _0x5ec2a3=_0x75f7[_0x18b0da];return _0x5ec2a3;};'use strict';var express=require(_0x775f('0x0'));var router=express[_0x775f('0x1')]();var controller=require('./authLocal.controller');router[_0x775f('0x2')]('/',controller['login']);router['post'](_0x775f('0x3'),controller[_0x775f('0x4')]);router[_0x775f('0x2')]('/reset/:token',controller[_0x775f('0x5')]);module['exports']=router;