File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
server/src/main/java/org/apache/cloudstack/user Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ public ConfigKey<?>[] getConfigKeys() {
94
94
UserPasswordResetSMTPUseAuth ,
95
95
UserPasswordResetSMTPUsername ,
96
96
UserPasswordResetSMTPPassword ,
97
+ UserPasswordResetDomainURL ,
97
98
PasswordResetMailTemplate
98
99
};
99
100
}
@@ -172,6 +173,7 @@ public void setResetTokenAndSend(UserAccount userAccount) {
172
173
final String email = userAccount .getEmail ();
173
174
final String username = userAccount .getUsername ();
174
175
final String subject = "Password Reset Request" ;
176
+ final String domainUrl = UserPasswordResetDomainURL .value ();
175
177
176
178
String resetLink = String .format ("/client/#/user/resetPassword?username=%s&token=%s" ,
177
179
username , resetToken );
You can’t perform that action at this time.
0 commit comments