mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
fixes for configuring u2f device
This commit is contained in:
@ -19,7 +19,7 @@ namespace Bit.Core.Models.Api
|
||||
{
|
||||
Challenge = new ChallengeModel(user, registration);
|
||||
}
|
||||
Enabled = provider.Enabled;
|
||||
Enabled = provider?.Enabled ?? false;
|
||||
}
|
||||
|
||||
public TwoFactorU2fResponseModel(User user)
|
||||
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using U2F.Core.Utils;
|
||||
using u2flib.Util;
|
||||
|
||||
namespace Bit.Core.Models
|
||||
{
|
||||
|
Reference in New Issue
Block a user