mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-09 14:41:21 +00:00
#268: Only assign password if given.
This commit is contained in:
@@ -239,6 +239,11 @@
|
||||
if (password != reentered_password)
|
||||
throw new Error("Passwords do not match.");
|
||||
|
||||
// Do not update password if it's just the
|
||||
// not-changed token
|
||||
if (password == "f12a1930-7195-11e2-bcfd-0800200c9a66")
|
||||
password = null;
|
||||
|
||||
// Set user permissions
|
||||
user_perms.read_connection = {};
|
||||
var connections = fields[2];
|
||||
|
Reference in New Issue
Block a user