1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

remove debugging true condition

This commit is contained in:
Kyle Spearrin 2017-01-18 00:17:59 -05:00
parent c9d348a0c2
commit 1e16644f52

View File

@ -40,7 +40,7 @@ namespace Bit.Core.Identity
{
if(await _userManager.CheckPasswordAsync(user, context.Password))
{
if(true || !twoFactorRequest && await TwoFactorRequiredAsync(user))
if(!twoFactorRequest && await TwoFactorRequiredAsync(user))
{
context.Result = new GrantValidationResult(TokenRequestErrors.InvalidGrant, "Two factor code required.",
// TODO: return something better?