|
@@ -1,4 +1,5 @@
|
1
|
|
-using System;
|
|
1
|
+using Abp.Specifications;
|
|
2
|
+using System;
|
2
|
3
|
using System.Collections.Generic;
|
3
|
4
|
using System.Linq;
|
4
|
5
|
using System.Linq.Dynamic.Core;
|
|
@@ -144,9 +145,11 @@ namespace UnivateProperties_API.Repository.Communication
|
144
|
145
|
|
145
|
146
|
public void ForgotPassword(Individual toPerson, string link)
|
146
|
147
|
{
|
|
148
|
+
|
147
|
149
|
string body = "<div style=\"margin: 5px\">" +
|
148
|
150
|
"<h4>Dear " + toPerson.FullName + "</h4>" +
|
149
|
151
|
"<h4>There has been a request to reset your password. If this is incorrect please send an email to info@univateproperties.co.za</h4>" +
|
|
152
|
+ "<h4>Once your password has been reset you can use the username "+ toPerson.User.Username + " and the new password to log in.</h4>" +
|
150
|
153
|
"<div>" +
|
151
|
154
|
"<h4><a href='" + link + "'>Click here</a> to reset your password.</h4>" +
|
152
|
155
|
"<br />"+
|