1
0
mirror of https://github.com/bitwarden/server synced 2025-12-26 05:03:18 +00:00

remove user twofactorenabled property

This commit is contained in:
Kyle Spearrin
2017-06-19 22:25:19 -04:00
parent 3b5b24531b
commit 2eaaecd95c
9 changed files with 25 additions and 43 deletions

View File

@@ -1,13 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Bit.Core.Models.Table;
using Bit.Core.Repositories;
using Bit.Core.Services;
namespace Bit.Core.Identity
{
@@ -162,7 +158,7 @@ namespace Bit.Core.Identity
public Task SetTwoFactorEnabledAsync(User user, bool enabled, CancellationToken cancellationToken)
{
user.TwoFactorEnabled = enabled;
// Do nothing...
return Task.FromResult(0);
}