Built motion from commit 14588770.|2.5.38
[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 _0x0212=['post','login'];(function(_0x3381f9,_0x50b280){var _0x2423fd=function(_0x2adbd6){while(--_0x2adbd6){_0x3381f9['push'](_0x3381f9['shift']());}};_0x2423fd(++_0x50b280);}(_0x0212,0x7b));var _0x2021=function(_0x1a78d5,_0x11b5fe){_0x1a78d5=_0x1a78d5-0x0;var _0x4d6245=_0x0212[_0x1a78d5];return _0x4d6245;};'use strict';var express=require('express');var router=express['Router']();var controller=require('./authLocal.controller');router['post']('/',controller[_0x2021('0x0')]);router[_0x2021('0x1')]('/forgot',controller['forgot']);router[_0x2021('0x1')]('/reset/:token',controller['reset']);module['exports']=router;