GUACAMOLE-1199: Only update JDBC attributes if values have been provided.
This commit is contained in:
1 parent
8afac61dd6
commit
04c908d5f7
2 files changed
+40
-26
No files matched your search
+1
-1
@@ -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