mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1199: Only update JDBC attributes if values have been provided.
This commit is contained in:
@@ -166,7 +166,7 @@ public class UserVerificationService {
|
||||
|
||||
// Get mutable set of attributes
|
||||
User self = context.self();
|
||||
Map<String, String> attributes = new HashMap<String, String>();
|
||||
Map<String, String> attributes = new HashMap<>();
|
||||
|
||||
// Set/overwrite current TOTP key state
|
||||
attributes.put(TOTPUser.TOTP_KEY_SECRET_ATTRIBUTE_NAME, BASE32.encode(key.getSecret()));
|
||||
|
Reference in New Issue
Block a user