Skip to content

Commit 53e30fb

Browse files
committed
Update AccountRepository.cs
1 parent 517b95a commit 53e30fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NETCore/Repository/Data/AccountRepository.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public void SendEmail(string Email, string newPass)
154154
smtp.Host = "smtp.gmail.com"; //for gmail host
155155
smtp.EnableSsl = true;
156156
smtp.UseDefaultCredentials = false;
157-
smtp.Credentials = new NetworkCredential("[email protected]", "febryanisriwaranti12");
157+
smtp.Credentials = new NetworkCredential("[email protected]", "xxxxxxxxxxx"); //"xxxxxxxxxx" mean my email password
158158
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
159159
smtp.Send(message);
160160
}

0 commit comments

Comments
 (0)