Built motion from commit ddca4d0d.|2.5.47
[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 _0x6fc2=['login','post','/forgot','forgot','/reset/:token','reset','exports','express'];(function(_0x134c2e,_0x3573c4){var _0x2825db=function(_0x2a574d){while(--_0x2a574d){_0x134c2e['push'](_0x134c2e['shift']());}};_0x2825db(++_0x3573c4);}(_0x6fc2,0xe7));var _0x26fc=function(_0x4a53d,_0x58a95e){_0x4a53d=_0x4a53d-0x0;var _0x27410e=_0x6fc2[_0x4a53d];return _0x27410e;};'use strict';var express=require(_0x26fc('0x0'));var router=express['Router']();var controller=require('./authLocal.controller');router['post']('/',controller[_0x26fc('0x1')]);router[_0x26fc('0x2')](_0x26fc('0x3'),controller[_0x26fc('0x4')]);router[_0x26fc('0x2')](_0x26fc('0x5'),controller[_0x26fc('0x6')]);module[_0x26fc('0x7')]=router;