Built motion from commit (unavailable).|2.5.15
[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 _0x93b2=['reset','express','Router','./authLocal.controller','post','login','/forgot'];(function(_0x1d5352,_0x4f7974){var _0x3395c2=function(_0x1f062a){while(--_0x1f062a){_0x1d5352['push'](_0x1d5352['shift']());}};_0x3395c2(++_0x4f7974);}(_0x93b2,0x104));var _0x293b=function(_0x255d5b,_0x4f6f35){_0x255d5b=_0x255d5b-0x0;var _0x3e141a=_0x93b2[_0x255d5b];return _0x3e141a;};'use strict';var express=require(_0x293b('0x0'));var router=express[_0x293b('0x1')]();var controller=require(_0x293b('0x2'));router[_0x293b('0x3')]('/',controller[_0x293b('0x4')]);router[_0x293b('0x3')](_0x293b('0x5'),controller['forgot']);router[_0x293b('0x3')]('/reset/:token',controller[_0x293b('0x6')]);module['exports']=router;