Skip to content

Commit ab46129

Browse files
author
Davi Torres
committed
Creates the variable
1 parent 1a804fe commit ab46129

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/src/main/java/org/apache/cloudstack/user/UserPasswordResetManagerImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public ConfigKey<?>[] getConfigKeys() {
9494
UserPasswordResetSMTPUseAuth,
9595
UserPasswordResetSMTPUsername,
9696
UserPasswordResetSMTPPassword,
97+
UserPasswordResetDomainURL,
9798
PasswordResetMailTemplate
9899
};
99100
}
@@ -172,6 +173,7 @@ public void setResetTokenAndSend(UserAccount userAccount) {
172173
final String email = userAccount.getEmail();
173174
final String username = userAccount.getUsername();
174175
final String subject = "Password Reset Request";
176+
final String domainUrl = UserPasswordResetDomainURL.value();
175177

176178
String resetLink = String.format("/client/#/user/resetPassword?username=%s&token=%s",
177179
username, resetToken);

0 commit comments

Comments
 (0)