GUACAMOLE-422: Revert weird addition of timezone field in JDBC module.

This commit is contained in:
Nick Couchman
2018-06-04 06:37:31 -04:00
committed by Virtually Nick
parent f1bce5173f
commit 0968145160

View File

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