mirror of
https://github.com/bitwarden/server
synced 2026-01-09 03:53:42 +00:00
Changed all C# control flow block statements to include space between keyword and open paren
This commit is contained in:
@@ -26,11 +26,11 @@ namespace Billing.Controllers
|
||||
[ValidateAntiForgeryToken]
|
||||
public async Task<IActionResult> Index(LoginModel model)
|
||||
{
|
||||
if(ModelState.IsValid)
|
||||
if (ModelState.IsValid)
|
||||
{
|
||||
var result = await _signInManager.PasswordlessSignInAsync(model.Email,
|
||||
Url.Action("Confirm", "Login", null, Request.Scheme));
|
||||
if(result.Succeeded)
|
||||
if (result.Succeeded)
|
||||
{
|
||||
return RedirectToAction("Index", "Home");
|
||||
}
|
||||
@@ -46,7 +46,7 @@ namespace Billing.Controllers
|
||||
public async Task<IActionResult> Confirm(string email, string token)
|
||||
{
|
||||
var result = await _signInManager.PasswordlessSignInAsync(email, token, false);
|
||||
if(!result.Succeeded)
|
||||
if (!result.Succeeded)
|
||||
{
|
||||
return View("Error");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user