86e4cfe667b316d0f418ac171601d7fe11b7ec56
[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 _0x3695=['post','forgot','/reset/:token','reset','Router'];(function(_0x4e9d34,_0x148d01){var _0x1644b7=function(_0x4f7ab8){while(--_0x4f7ab8){_0x4e9d34['push'](_0x4e9d34['shift']());}};_0x1644b7(++_0x148d01);}(_0x3695,0x1df));var _0x5369=function(_0x56f8dc,_0x50b780){_0x56f8dc=_0x56f8dc-0x0;var _0x2ca7a1=_0x3695[_0x56f8dc];return _0x2ca7a1;};'use strict';var express=require('express');var router=express[_0x5369('0x0')]();var controller=require('./authLocal.controller');router[_0x5369('0x1')]('/',controller['login']);router[_0x5369('0x1')]('/forgot',controller[_0x5369('0x2')]);router[_0x5369('0x1')](_0x5369('0x3'),controller[_0x5369('0x4')]);module['exports']=router;