d8953c59864f5230dd31a2800f80f40b407886bb
[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 _0xe602=['Router','./authLocal.controller','post','/forgot','reset'];(function(_0x5cf0b1,_0x53548d){var _0x4b97d3=function(_0x49b29d){while(--_0x49b29d){_0x5cf0b1['push'](_0x5cf0b1['shift']());}};_0x4b97d3(++_0x53548d);}(_0xe602,0x1c2));var _0x2e60=function(_0x1efe1c,_0x29dec4){_0x1efe1c=_0x1efe1c-0x0;var _0x31dbd1=_0xe602[_0x1efe1c];return _0x31dbd1;};'use strict';var express=require('express');var router=express[_0x2e60('0x0')]();var controller=require(_0x2e60('0x1'));router[_0x2e60('0x2')]('/',controller['login']);router[_0x2e60('0x2')](_0x2e60('0x3'),controller['forgot']);router[_0x2e60('0x2')]('/reset/:token',controller[_0x2e60('0x4')]);module['exports']=router;