mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-525: Quick tweak to logic in password history file.
This commit is contained in:
@@ -65,7 +65,8 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
DELETE FROM [guacamole_user_password_history]
|
DELETE FROM [guacamole_user_password_history]
|
||||||
WHERE password_history_id NOT IN (
|
WHERE user_id = #{record.userID,jdbcType=INTEGER}
|
||||||
|
AND password_history_id NOT IN (
|
||||||
SELECT TOP(#{maxHistorySize}) password_history_id
|
SELECT TOP(#{maxHistorySize}) password_history_id
|
||||||
FROM [guacamole_user_password_history]
|
FROM [guacamole_user_password_history]
|
||||||
WHERE user_id = #{record.userID,jdbcType=INTEGER}
|
WHERE user_id = #{record.userID,jdbcType=INTEGER}
|
||||||
|
Reference in New Issue
Block a user