From 02873d40c950a89a27d08e5b91a4a432188b1c58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D1=80=D0=B0=D1=82=20=D0=97=D0=B0=D1=80=D0=B3?= =?UTF-8?q?=D0=B0=D1=80=D0=BE=D0=B2?= Date: Fri, 2 Jun 2023 21:36:24 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BD=D0=B0=D0=B7?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=BF=D0=BE=D1=87=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Pizzeria/PizzeriaBusinessLogic/ClientLogic.cs | 3 +-- Pizzeria/PizzeriaRestApi/appsettings.json | 4 ++-- Pizzeria/PizzeriaView/App.config | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Pizzeria/PizzeriaBusinessLogic/ClientLogic.cs b/Pizzeria/PizzeriaBusinessLogic/ClientLogic.cs index f832e4d..c12d37c 100644 --- a/Pizzeria/PizzeriaBusinessLogic/ClientLogic.cs +++ b/Pizzeria/PizzeriaBusinessLogic/ClientLogic.cs @@ -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) { diff --git a/Pizzeria/PizzeriaRestApi/appsettings.json b/Pizzeria/PizzeriaRestApi/appsettings.json index a80deab..c58135b 100644 --- a/Pizzeria/PizzeriaRestApi/appsettings.json +++ b/Pizzeria/PizzeriaRestApi/appsettings.json @@ -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" } diff --git a/Pizzeria/PizzeriaView/App.config b/Pizzeria/PizzeriaView/App.config index 275eb30..5f3e84e 100644 --- a/Pizzeria/PizzeriaView/App.config +++ b/Pizzeria/PizzeriaView/App.config @@ -5,7 +5,7 @@ - - + + \ No newline at end of file