email key fix
This commit is contained in:
parent
c1be82d9f9
commit
e7ce517c3d
|
@ -559,7 +559,7 @@ public class UserServiceImpl implements UserService {
|
|||
event.setNotificationType(this.notificationProperties.getMergeAccountConfirmationType());
|
||||
NotificationFieldData data = new NotificationFieldData();
|
||||
List<FieldInfo> fieldInfoList = new ArrayList<>();
|
||||
fieldInfoList.add(new FieldInfo("{userName}", DataType.String, currentUser.getName()));
|
||||
fieldInfoList.add(new FieldInfo("{recipient}", DataType.String, currentUser.getName()));
|
||||
fieldInfoList.add(new FieldInfo("{confirmationToken}", DataType.String, token));
|
||||
fieldInfoList.add(new FieldInfo("{expiration_time}", DataType.String, this.secondsToTime(this.notificationProperties.getEmailExpirationTimeSeconds())));
|
||||
data.setFields(fieldInfoList);
|
||||
|
|
Loading…
Reference in New Issue