mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request #254 from ayyoob/transport
updated authentication in api
This commit is contained in:
commit
8f0840e3df
@ -129,7 +129,7 @@ utility = function () {
|
||||
log.error("User object was not found in the session");
|
||||
throw constants.ERRORS.USER_NOT_FOUND;
|
||||
}
|
||||
var unitName = user.domain + "cdmf.unit.device.type." + deviceType + "." + unitPostfix;
|
||||
var unitName = user.domain + ".cdmf.unit.device.type." + deviceType + "." + unitPostfix;
|
||||
if (new File("/app/units/" + unitName).isExists()) {
|
||||
return unitName;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user