UNPKG

acha-framework

Version:

is a modular framework on both client (angular.js) and server (node.js) side, it provides security, orm, ioc, obfuscation and ...

15 lines 473 B
(function (undefined) { Ioc.define('backend.controllers.account', [ 'backend.configuration', 'backend.orm', 'backend.authentication', 'backend.operationResult', 'backend.captcha.service' ], function (provide, config, database, authentication, OperationResult, captchaService) { provide({ install: function (app) { app.post('/api/v1/account/login', captchaService.check, authentication.authenticate_jwt); } }); }); }());