Built motion from commit 19a84241.|2.5.34
[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 _0x704c=['Router','post','login','forgot','exports','express'];(function(_0x3684f9,_0xf380f0){var _0x2ec4b6=function(_0x3844aa){while(--_0x3844aa){_0x3684f9['push'](_0x3684f9['shift']());}};_0x2ec4b6(++_0xf380f0);}(_0x704c,0x1c1));var _0xc704=function(_0x5471ec,_0x1ce81a){_0x5471ec=_0x5471ec-0x0;var _0x121d4c=_0x704c[_0x5471ec];return _0x121d4c;};'use strict';var express=require(_0xc704('0x0'));var router=express[_0xc704('0x1')]();var controller=require('./authLocal.controller');router[_0xc704('0x2')]('/',controller[_0xc704('0x3')]);router['post']('/forgot',controller[_0xc704('0x4')]);router['post']('/reset/:token',controller['reset']);module[_0xc704('0x5')]=router;