2768498e5ad5aa6fc395c97326da05379d846330
[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 _0xae4d=['/reset/:token','exports','Router','post','login','forgot'];(function(_0x416b32,_0x569f90){var _0x3bf318=function(_0x124310){while(--_0x124310){_0x416b32['push'](_0x416b32['shift']());}};_0x3bf318(++_0x569f90);}(_0xae4d,0x140));var _0xdae4=function(_0x5db59c,_0x11cc79){_0x5db59c=_0x5db59c-0x0;var _0x2a1f41=_0xae4d[_0x5db59c];return _0x2a1f41;};'use strict';var express=require('express');var router=express[_0xdae4('0x0')]();var controller=require('./authLocal.controller');router[_0xdae4('0x1')]('/',controller[_0xdae4('0x2')]);router[_0xdae4('0x1')]('/forgot',controller[_0xdae4('0x3')]);router[_0xdae4('0x1')](_0xdae4('0x4'),controller['reset']);module[_0xdae4('0x5')]=router;