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

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));
}
_logger.LogInformation("Client. Id: {Id}. ClientFIO: {ClientFIO}. Email: {Email}.",
model?.Id, model?.ClientFIO, model?.Email);
_logger.LogInformation("Client. Id: {Id}. ClientFIO: {ClientFIO}. Email: {Email}.", model?.Id, model?.ClientFIO, model?.Email);
var element = _clientStorage.GetElement(new ClientSearchModel { Email = model.Email });
if (element != null && element.Id != model.Id)
{

View File

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

View File

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