mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1661: Restore logic to not index records by login if hostname is already defined.
This commit is contained in:
@@ -322,8 +322,11 @@ public class KsmClient {
|
||||
if (!confService.getMatchUserRecordsByDomain())
|
||||
domain = null;
|
||||
|
||||
// Store the login by username and domain
|
||||
addRecordForLogin(record, username, domain);
|
||||
// Store based on login ONLY if no hostname (will otherwise
|
||||
// result in ambiguous entries for servers tied to identical
|
||||
// accounts)
|
||||
if (hostname == null)
|
||||
addRecordForLogin(record, username, domain);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user