Skip to content
Snippets Groups Projects
Commit e03af042 authored by Adiv Asif's avatar Adiv Asif
Browse files

Merged PR 28: fixups

fixups
parents d1578d5c f1865e31
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,7 @@ public class EmailService : IEmailService
using var smtp = new SmtpClient();
try
{
smtp.CheckCertificateRevocation = false;
await smtp.ConnectAsync("smtp.gmail.com", 587, false);
await smtp.AuthenticateAsync(_emailConfig.Email, _emailConfig.Password);
await smtp.SendAsync(email);
......
......@@ -2,6 +2,6 @@
public class ConnectionStrings
{
public string? DbConnectionString { get; set; }
public string? AzureBlobStorage { get; set; }
public string? DbConnectionString { get; set; } = "";
public string? AzureBlobStorage { get; set; } = "";
}
\ No newline at end of file
......@@ -2,6 +2,6 @@ namespace AuthenticationMicroservice.Settings;
public class EmailConfig
{
public string? Email { get; set; }
public string? Password { get; set; }
public string? Email { get; set; } = "";
public string? Password { get; set; } = "";
}
\ No newline at end of file
......@@ -2,5 +2,5 @@
public class FrontendStrings
{
public string? BaseUrl { get; set; }
public string? BaseUrl { get; set; } = "";
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment