mirror of
https://github.com/bitwarden/server
synced 2025-12-30 07:03:42 +00: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