Built motion from commit 0900f080.|2.5.45
[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 _0xec97=['./authLocal.controller','login','/forgot','forgot','post'];(function(_0x1f77be,_0x1ea03c){var _0x349b38=function(_0x4dc45f){while(--_0x4dc45f){_0x1f77be['push'](_0x1f77be['shift']());}};_0x349b38(++_0x1ea03c);}(_0xec97,0x91));var _0x7ec9=function(_0x235ced,_0x4a5767){_0x235ced=_0x235ced-0x0;var _0x1da17f=_0xec97[_0x235ced];return _0x1da17f;};'use strict';var express=require('express');var router=express['Router']();var controller=require(_0x7ec9('0x0'));router['post']('/',controller[_0x7ec9('0x1')]);router['post'](_0x7ec9('0x2'),controller[_0x7ec9('0x3')]);router[_0x7ec9('0x4')]('/reset/:token',controller['reset']);module['exports']=router;