Skip to content

Commit ae207be

Browse files
committed
DefaultLoginAPIAuthenticatorCmd: return userId as UUID
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent bae8f2a commit ae207be

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎server/src/com/cloud/api/auth/DefaultLoginAPIAuthenticatorCmd.java‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@ private String createLoginResponse(HttpSession session, String responseType) {
118118
while (attrNames.hasMoreElements()) {
119119
final String attrName = (String) attrNames.nextElement();
120120
final Object attrObj = session.getAttribute(attrName);
121-
if (ApiConstants.USER_ID.equalsIgnoreCase(attrName)) {
122-
response.setUserId(attrObj.toString());
123-
}
124121
if (ApiConstants.USERNAME.equalsIgnoreCase(attrName)) {
125122
response.setUsername(attrObj.toString());
126123
}

0 commit comments

Comments
 (0)