Built motion from commit e6806ed6.|2.6.0
[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 _0x1b57=['post','login','reset','express','Router','./authLocal.controller'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x1b57,0x81));var _0x71b5=function(_0x368811,_0x42fb6c){_0x368811=_0x368811-0x0;var _0x3e5a78=_0x1b57[_0x368811];return _0x3e5a78;};'use strict';var express=require(_0x71b5('0x0'));var router=express[_0x71b5('0x1')]();var controller=require(_0x71b5('0x2'));router[_0x71b5('0x3')]('/',controller[_0x71b5('0x4')]);router['post']('/forgot',controller['forgot']);router[_0x71b5('0x3')]('/reset/:token',controller[_0x71b5('0x5')]);module['exports']=router;