fixed login issue
This commit is contained in:
@@ -54,23 +54,4 @@ exports.verifyToken = function (req, res) {
|
||||
res.send(serviceResponse);
|
||||
res.end();
|
||||
});
|
||||
};
|
||||
|
||||
/*
|
||||
* function : Change password
|
||||
* parameter : id parameter of token KV
|
||||
* token parameter of token KV
|
||||
* return : ServiceResponse
|
||||
*/
|
||||
exports.changePassword = function (req, res) {
|
||||
let bodyParam = req.body;
|
||||
let userName = bodyParam.user_name;
|
||||
let callbackURL = bodyParam.callback_url;
|
||||
|
||||
let serviceResponse = new ServiceResponse();
|
||||
authenticationLogic.sendChangePwMailWorkUnit(userName, callbackURL, function (changePWErr) {
|
||||
serviceResponse.status = changePWErr;
|
||||
res.send(serviceResponse);
|
||||
res.end();
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user