You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be awesome if the request was returned in the password exchange so more information about the request can be used, like the IP address of the computer that the request was sent from.
I would do it like this in the file /lib/exchange/password.js. I can submit a pull request if necessary.
try {
var arity = issue.length;
if (arity == 8){
issue(client, username, passwd, scope, req.body, req.authInfo, req, issued);
} else if (arity == 7) {
issue(client, username, passwd, scope, req.body, req.authInfo, issued);
} else if (arity == 6) {
issue(client, username, passwd, scope, req.body, issued);
} else if (arity == 5) {
issue(client, username, passwd, scope, issued);
} else { // arity == 4
issue(client, username, passwd, issued);
}
} catch (ex) {
return next(ex);
}
The text was updated successfully, but these errors were encountered:
It would be awesome if the request was returned in the password exchange so more information about the request can be used, like the IP address of the computer that the request was sent from.
I would do it like this in the file /lib/exchange/password.js. I can submit a pull request if necessary.
try {
var arity = issue.length;
if (arity == 8){
issue(client, username, passwd, scope, req.body, req.authInfo, req, issued);
} else if (arity == 7) {
issue(client, username, passwd, scope, req.body, req.authInfo, issued);
} else if (arity == 6) {
issue(client, username, passwd, scope, req.body, issued);
} else if (arity == 5) {
issue(client, username, passwd, scope, issued);
} else { // arity == 4
issue(client, username, passwd, issued);
}
} catch (ex) {
return next(ex);
}
The text was updated successfully, but these errors were encountered: