Фикс названия почты

This commit is contained in:
Марат Заргаров 2023-06-02 21:36:24 +04:00
parent 0a2f43ec60
commit 02873d40c9
3 changed files with 5 additions and 6 deletions

View File

@ -123,8 +123,7 @@ namespace PizzeriaBusinessLogic
throw new ArgumentNullException("Пароль не соответсвует требованиям безопасности", nameof(model.Password)); throw new ArgumentNullException("Пароль не соответсвует требованиям безопасности", nameof(model.Password));
} }
_logger.LogInformation("Client. Id: {Id}. ClientFIO: {ClientFIO}. Email: {Email}.", _logger.LogInformation("Client. Id: {Id}. ClientFIO: {ClientFIO}. Email: {Email}.", model?.Id, model?.ClientFIO, model?.Email);
model?.Id, model?.ClientFIO, model?.Email);
var element = _clientStorage.GetElement(new ClientSearchModel { Email = model.Email }); var element = _clientStorage.GetElement(new ClientSearchModel { Email = model.Email });
if (element != null && element.Id != model.Id) if (element != null && element.Id != model.Id)
{ {

View File

@ -11,6 +11,6 @@
"SmtpClientPort": "587", "SmtpClientPort": "587",
"PopHost": "pop.gmail.com", "PopHost": "pop.gmail.com",
"PopPort": "995", "PopPort": "995",
"MailLogin": "maximlabwork@gmail.com", "MailLogin": "zargarovrpp@gmail.com",
"MailPassword": "ohyx qftt zaal jrmm" "MailPassword": "sttv jdef pmjc pnqk"
} }

View File

@ -5,7 +5,7 @@
<add key="SmtpClientPort" value="587" /> <add key="SmtpClientPort" value="587" />
<add key="PopHost" value="pop.gmail.com" /> <add key="PopHost" value="pop.gmail.com" />
<add key="PopPort" value="995" /> <add key="PopPort" value="995" />
<add key="MailLogin" value="hmscolossus.r95@gmail.com" /> <add key="MailLogin" value="zargarovrpp@gmail.com" />
<add key="MailPassword" value="fbiv zyz yxpoy fgac" /> <add key="MailPassword" value="sttv jdef pmjc pnqk" />
</appSettings> </appSettings>
</configuration> </configuration>