Commit 5b523314769db4993f59b0386de715ce18828187

Authored by Adhidarma Hadiwinoto
1 parent 5fa2b44e58
Exists in master

field request by saat request autentikasi ke core

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

control-panel/lib/router-login.js
... ... @@ -42,7 +42,8 @@ function pageLoginSubmitted(req, res, next) {
42 42  
43 43 const qs = {
44 44 terminal_name: req.body.terminal_name,
45   - web_password: req.body.password
  45 + web_password: req.body.password,
  46 + request_by: config.handler_name || config.username || config.origin
46 47 }
47 48  
48 49 requestToCore.doRequestAndParse('/services/terminalAuthentication', qs, function(err, coreResponse) {