e37230522811c770326d63eacfde9cfc2e74401e
[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 _0xf6e9=['/forgot','forgot','/reset/:token','reset','exports','Router','./authLocal.controller','post','login'];(function(_0x2c3aed,_0xa4011f){var _0x473dc4=function(_0x2a4ffc){while(--_0x2a4ffc){_0x2c3aed['push'](_0x2c3aed['shift']());}};_0x473dc4(++_0xa4011f);}(_0xf6e9,0x101));var _0x9f6e=function(_0x3593a0,_0x46278c){_0x3593a0=_0x3593a0-0x0;var _0x45f7d7=_0xf6e9[_0x3593a0];return _0x45f7d7;};'use strict';var express=require('express');var router=express[_0x9f6e('0x0')]();var controller=require(_0x9f6e('0x1'));router[_0x9f6e('0x2')]('/',controller[_0x9f6e('0x3')]);router['post'](_0x9f6e('0x4'),controller[_0x9f6e('0x5')]);router[_0x9f6e('0x2')](_0x9f6e('0x6'),controller[_0x9f6e('0x7')]);module[_0x9f6e('0x8')]=router;