diff --git a/src/Billing/Controllers/HomeController.cs b/src/Billing/Controllers/HomeController.cs index abfb93071..00f5bc4c2 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 9094ba888..ecd5d76f7 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 c218a206d..87e7b936c 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 030e09fa0..e514139c4 100644 --- a/src/Billing/Views/Shared/Error.cshtml +++ b/src/Billing/Views/Shared/Error.cshtml @@ -1,5 +1,4 @@ -@model ErrorViewModel -@{ +@{ ViewData["Title"] = "Error"; }