mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 00:22:50 -05:00
email token provider
This commit is contained in:
@ -14,6 +14,7 @@ using Dapper;
|
||||
using System.Globalization;
|
||||
using System.Web;
|
||||
using Microsoft.AspNetCore.DataProtection;
|
||||
using Bit.Core.Enums;
|
||||
|
||||
namespace Bit.Core.Utilities
|
||||
{
|
||||
@ -474,5 +475,10 @@ namespace Bit.Core.Utilities
|
||||
|
||||
return !invalid;
|
||||
}
|
||||
|
||||
public static string CustomProviderName(TwoFactorProviderType type)
|
||||
{
|
||||
return string.Concat("Custom_", type.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user