Skip to content
Open
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions server/src/main/java/com/cloud/user/AccountManagerImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -3827,7 +3827,11 @@ public void buildACLViewSearchCriteria(SearchCriteria<? extends ControlledViewEn

@Override
public UserAccount getUserByApiKey(String apiKey) {
if (keyPair == null) {
return null;
}
Comment thread
daviftorres marked this conversation as resolved.
ApiKeyPairVO keyPair = apiKeyPairDao.findByApiKey(apiKey);
Comment thread
daviftorres marked this conversation as resolved.
Outdated

Comment thread
bernardodemarco marked this conversation as resolved.
return userAccountDao.findById(keyPair.getUserId());
}

Expand Down
Loading