diff --git a/Bank/BankOperatorApp/Controllers/HomeController.cs b/Bank/BankOperatorApp/Controllers/HomeController.cs index 126a8a3..7bc8f06 100644 --- a/Bank/BankOperatorApp/Controllers/HomeController.cs +++ b/Bank/BankOperatorApp/Controllers/HomeController.cs @@ -57,7 +57,7 @@ namespace BankOperatorApp.Controllers { throw new Exception("Вы как суда попали? Суда вход только авторизованным"); } - if (string.IsNullOrEmpty(login) || string.IsNullOrEmpty(password) || string.IsNullOrEmpty(lastname) || string.IsNullOrEmpty(firstname) || string.IsNullOrEmpty(middleName)) + if (string.IsNullOrEmpty(login) || string.IsNullOrEmpty(password) || string.IsNullOrEmpty(lastname) || string.IsNullOrEmpty(firstname)) { throw new Exception("Введите логин, пароль и ФИО"); } diff --git a/Bank/BankOperatorApp/Views/Home/Privacy.cshtml b/Bank/BankOperatorApp/Views/Home/Privacy.cshtml index 336c853..5351e02 100644 --- a/Bank/BankOperatorApp/Views/Home/Privacy.cshtml +++ b/Bank/BankOperatorApp/Views/Home/Privacy.cshtml @@ -23,7 +23,7 @@