1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 23:52:50 -05:00

revert billing signin stuff for now

This commit is contained in:
Kyle Spearrin
2018-04-17 00:36:30 -04:00
parent b1b016fbc8
commit 6e7bc8369d
4 changed files with 7 additions and 3 deletions

View File

@ -6,10 +6,12 @@ namespace Billing.Controllers
{ {
public class HomeController : Controller public class HomeController : Controller
{ {
/*
[Authorize] [Authorize]
public IActionResult Index() public IActionResult Index()
{ {
return View(); return View();
} }
*/
} }
} }

View File

@ -8,6 +8,7 @@ namespace Billing.Controllers
{ {
public class LoginController : Controller public class LoginController : Controller
{ {
/*
private readonly PasswordlessSignInManager<IdentityUser> _signInManager; private readonly PasswordlessSignInManager<IdentityUser> _signInManager;
public LoginController( public LoginController(
@ -52,5 +53,6 @@ namespace Billing.Controllers
return RedirectToAction("Index", "Home"); return RedirectToAction("Index", "Home");
} }
*/
} }
} }

View File

@ -43,7 +43,8 @@ namespace Bit.Billing
services.AddScoped<CurrentContext>(); services.AddScoped<CurrentContext>();
// Identity // Identity
services.AddPasswordlessIdentityServices<ReadOnlyDatabaseIdentityUserStore>(globalSettings); services.AddCustomIdentityServices(globalSettings);
//services.AddPasswordlessIdentityServices<ReadOnlyDatabaseIdentityUserStore>(globalSettings);
// Services // Services
services.AddBaseServices(); services.AddBaseServices();

View File

@ -1,5 +1,4 @@
@model ErrorViewModel @{
@{
ViewData["Title"] = "Error"; ViewData["Title"] = "Error";
} }