GUACAMOLE-524: Do not interpret tokens in SimpleUserContext if interpretTokens is false.

This commit is contained in:
Michael Jumper
2019-01-22 14:25:27 -08:00
parent 05553ec918
commit a28b3c393a

View File

@@ -129,7 +129,7 @@ public class SimpleUserContext extends AbstractUserContext {
GuacamoleConfiguration config = configEntry.getValue(); GuacamoleConfiguration config = configEntry.getValue();
// Add as simple connection // Add as simple connection
Connection connection = new SimpleConnection(identifier, identifier, config, true); Connection connection = new SimpleConnection(identifier, identifier, config, interpretTokens);
connection.setParentIdentifier(DEFAULT_ROOT_CONNECTION_GROUP); connection.setParentIdentifier(DEFAULT_ROOT_CONNECTION_GROUP);
connections.put(identifier, connection); connections.put(identifier, connection);