Built motion from commit da24aabd.|2.6.20
[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 _0x3d2a=['reset','post','login','/forgot','forgot','/reset/:token'];(function(_0x1132d1,_0x1a2f80){var _0x13b103=function(_0x743de8){while(--_0x743de8){_0x1132d1['push'](_0x1132d1['shift']());}};_0x13b103(++_0x1a2f80);}(_0x3d2a,0x139));var _0xa3d2=function(_0x493a51,_0x45128c){_0x493a51=_0x493a51-0x0;var _0xc85756=_0x3d2a[_0x493a51];return _0xc85756;};'use strict';var express=require('express');var router=express['Router']();var controller=require('./authLocal.controller');router[_0xa3d2('0x0')]('/',controller[_0xa3d2('0x1')]);router[_0xa3d2('0x0')](_0xa3d2('0x2'),controller[_0xa3d2('0x3')]);router['post'](_0xa3d2('0x4'),controller[_0xa3d2('0x5')]);module['exports']=router;