From 6e7bc8369de7af577ef1c5fa436173c378c16ad2 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 17 Apr 2018 00:36:30 -0400 Subject: [PATCH] revert billing signin stuff for now --- src/Billing/Controllers/HomeController.cs | 2 ++ src/Billing/Controllers/LoginController.cs | 2 ++ src/Billing/Startup.cs | 3 ++- src/Billing/Views/Shared/Error.cshtml | 3 +-- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Billing/Controllers/HomeController.cs b/src/Billing/Controllers/HomeController.cs index abfb930718..00f5bc4c20 100644 --- a/src/Billing/Controllers/HomeController.cs +++ b/src/Billing/Controllers/HomeController.cs @@ -6,10 +6,12 @@ namespace Billing.Controllers { public class HomeController : Controller { + /* [Authorize] public IActionResult Index() { return View(); } + */ } } diff --git a/src/Billing/Controllers/LoginController.cs b/src/Billing/Controllers/LoginController.cs index 9094ba8882..ecd5d76f74 100644 --- a/src/Billing/Controllers/LoginController.cs +++ b/src/Billing/Controllers/LoginController.cs @@ -8,6 +8,7 @@ namespace Billing.Controllers { public class LoginController : Controller { + /* private readonly PasswordlessSignInManager _signInManager; public LoginController( @@ -52,5 +53,6 @@ namespace Billing.Controllers return RedirectToAction("Index", "Home"); } + */ } } diff --git a/src/Billing/Startup.cs b/src/Billing/Startup.cs index c218a206d3..87e7b936c5 100644 --- a/src/Billing/Startup.cs +++ b/src/Billing/Startup.cs @@ -43,7 +43,8 @@ namespace Bit.Billing services.AddScoped(); // Identity - services.AddPasswordlessIdentityServices(globalSettings); + services.AddCustomIdentityServices(globalSettings); + //services.AddPasswordlessIdentityServices(globalSettings); // Services services.AddBaseServices(); diff --git a/src/Billing/Views/Shared/Error.cshtml b/src/Billing/Views/Shared/Error.cshtml index 030e09fa07..e514139c45 100644 --- a/src/Billing/Views/Shared/Error.cshtml +++ b/src/Billing/Views/Shared/Error.cshtml @@ -1,5 +1,4 @@ -@model ErrorViewModel -@{ +@{ ViewData["Title"] = "Error"; }