GUACAMOLE-525: Quick tweak to logic in password history file.
This commit is contained in:
1 parent
62a706896a
commit
c062acea2d
1 file changed
+2
-1
+2
-1
@@ -65,7 +65,8 @@
|
||||
);
|
||||
|
||||
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
|
||||
FROM [guacamole_user_password_history]
|
||||
WHERE user_id = #{record.userID,jdbcType=INTEGER}
|
||||
|
||||
Reference in new issue
Block a user