mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-505: Merge changes fixing the behavior SQL Server version of the "selectOne" query for retrieval of user account information (the query must return at most one row).
This commit is contained in:
@@ -176,8 +176,8 @@
|
||||
resultSets="users,arbitraryAttributes">
|
||||
|
||||
SELECT
|
||||
[guacamole_user].user_id,
|
||||
[guacamole_user].username,
|
||||
user_id,
|
||||
username,
|
||||
password_hash,
|
||||
password_salt,
|
||||
password_date,
|
||||
@@ -198,7 +198,6 @@
|
||||
WHERE [guacamole_user_history].user_id = [guacamole_user].user_id
|
||||
) AS last_active
|
||||
FROM [guacamole_user]
|
||||
LEFT JOIN [guacamole_user_history] ON [guacamole_user_history].user_id = [guacamole_user].user_id
|
||||
WHERE
|
||||
[guacamole_user].username = #{username,jdbcType=VARCHAR};
|
||||
|
||||
|
Reference in New Issue
Block a user