88c9fd0e618b07bd6b8adde46bb47e55d7c36935
[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 _0xc3fc=['forgot','/reset/:token','reset','exports','Router','./authLocal.controller','login','post','/forgot'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xc3fc,0x79));var _0xcc3f=function(_0x596b97,_0x12a85b){_0x596b97=_0x596b97-0x0;var _0x454942=_0xc3fc[_0x596b97];return _0x454942;};'use strict';var express=require('express');var router=express[_0xcc3f('0x0')]();var controller=require(_0xcc3f('0x1'));router['post']('/',controller[_0xcc3f('0x2')]);router[_0xcc3f('0x3')](_0xcc3f('0x4'),controller[_0xcc3f('0x5')]);router[_0xcc3f('0x3')](_0xcc3f('0x6'),controller[_0xcc3f('0x7')]);module[_0xcc3f('0x8')]=router;