Skip to content

Commit 6b761c9

Browse files
erikbocksGaOrtiga
andauthored
Fix SQL statement
Co-authored-by: GaOrtiga <49285692+GaOrtiga@users.noreply.github.com>
1 parent 68b76a9 commit 6b761c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

engine/schema/src/main/resources/META-INF/db/schema-42200to42210.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ UPDATE `cloud`.`vm_template` SET guest_os_id = 99 WHERE name = 'kvm-default-vm-i
3838

3939
-- Update `user.password.reset.mail.template` configuration value to match new logic
4040
UPDATE `cloud`.`configuration`
41-
SET WHERE name = 'user.password.reset.mail.template' AND value = 'Hello {{username}}!\nYou have requested to reset your password. Please click the following link to reset your password:\n{{{resetLink}}}\nIf you did not request a password reset,please ignore this email.\n\nRegards,\nThe CloudStack Team'
42-
WHERE value IN (
41+
SET value = 'Hello {{username}}!\nYou have requested to reset your password. Please click the following link to reset your password:\n{{{resetLink}}}\nIf you did not request a password reset,please ignore this email.\n\nRegards,\nThe CloudStack Team'
42+
WHERE name = 'user.password.reset.mail.template' AND value IN (
4343
'Hello {{username}}!\nYou have requested to reset your password. Please click the following link to reset your password:\nhttp://{{{resetLink}}}\nIf you did not request a password reset,please ignore this email.\n\nRegards,\nThe CloudStack Team',
4444
'Hello {{username}}!\nYou have requested to reset your password. Please click the following link to reset your password:\n{{{domainUrl}}}{{{resetLink}}}\nIf you did not request a password reset,please ignore this email.\n\nRegards,\nThe CloudStack Team'
4545
);

0 commit comments

Comments
 (0)