5d0ab83cdb8d4f8f3ea46abdbb36a09de0b0b1e3
[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 _0xe145=['/reset/:token','reset','exports','express','Router','./authLocal.controller','login','/forgot'];(function(_0x5c1932,_0x5b1a24){var _0x2e8728=function(_0x495742){while(--_0x495742){_0x5c1932['push'](_0x5c1932['shift']());}};_0x2e8728(++_0x5b1a24);}(_0xe145,0x16b));var _0x5e14=function(_0x1fb704,_0x3d5bae){_0x1fb704=_0x1fb704-0x0;var _0x47d149=_0xe145[_0x1fb704];return _0x47d149;};'use strict';var express=require(_0x5e14('0x0'));var router=express[_0x5e14('0x1')]();var controller=require(_0x5e14('0x2'));router['post']('/',controller[_0x5e14('0x3')]);router['post'](_0x5e14('0x4'),controller['forgot']);router['post'](_0x5e14('0x5'),controller[_0x5e14('0x6')]);module[_0x5e14('0x7')]=router;