mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-422: Add timezone selection for RDP connections.
This commit is contained in:
committed by
Virtually Nick
parent
3c9302f040
commit
8b443dc9d5
@@ -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());
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user