Merge staging/1.2.0 changes back to master.

This commit is contained in:
Virtually Nick committed 2020-06-18 11:38:34 -04:00
commit 33fa0033d2
21 files changed
+216 -58

No files matched your search

@@ -181,12 +181,13 @@ public class UserVerificationService {
// Update user object
try {
context.getUserDirectory().update(self);
context.getPrivileged().getUserDirectory().update(self);
}
catch (GuacamoleSecurityException e) {
logger.info("User \"{}\" cannot store their TOTP key as they "
+ "lack permission to update their own account. TOTP "
+ "will be disabled for this user.",
+ "lack permission to update their own account and the "
+ "TOTP extension was unable to obtain privileged access. "
+ "TOTP will be disabled for this user.",
self.getIdentifier());
logger.debug("Permission denied to set TOTP key of user "
+ "account.", e);