Built motion from commit 97153652.|2.6.26
[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 _0x0b98=['express','login','post','/reset/:token','reset','exports'];(function(_0xcb4c7a,_0x2bf5ae){var _0x2f7d2b=function(_0x56a2e7){while(--_0x56a2e7){_0xcb4c7a['push'](_0xcb4c7a['shift']());}};_0x2f7d2b(++_0x2bf5ae);}(_0x0b98,0x1ec));var _0x80b9=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0b98[_0x3dd15e];return _0x231fd0;};'use strict';var express=require(_0x80b9('0x0'));var router=express['Router']();var controller=require('./authLocal.controller');router['post']('/',controller[_0x80b9('0x1')]);router[_0x80b9('0x2')]('/forgot',controller['forgot']);router['post'](_0x80b9('0x3'),controller[_0x80b9('0x4')]);module[_0x80b9('0x5')]=router;