GUACAMOLE-422: Add timezone selection for RDP connections.

This commit is contained in:
Nick Couchman
2018-06-02 08:47:41 -04:00
committed by Virtually Nick
parent 3c9302f040
commit 8b443dc9d5
3 changed files with 10 additions and 1 deletions

View File

@@ -113,7 +113,8 @@ public class ModeledUser extends ModeledPermissions<UserModel> implements User {
new TextField(User.Attribute.FULL_NAME),
new EmailField(User.Attribute.EMAIL_ADDRESS),
new TextField(User.Attribute.ORGANIZATION),
new TextField(User.Attribute.ORGANIZATIONAL_ROLE)
new TextField(User.Attribute.ORGANIZATIONAL_ROLE),
new TimeZoneField(TIMEZONE_ATTRIBUTE_NAME)
));
/**
@@ -349,6 +350,9 @@ public class ModeledUser extends ModeledPermissions<UserModel> implements User {
// Set role attribute
attributes.put(User.Attribute.ORGANIZATIONAL_ROLE, getModel().getOrganizationalRole());
// Set timezone attribute
attributes.put(TIMEZONE_ATTRIBUTE_NAME, getModel().getTimeZone());
}
/**