1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 00:22:50 -05:00

isUser function

This commit is contained in:
Kyle Spearrin
2019-09-17 16:55:40 -04:00
parent dcbe30b80f
commit 64ddcaaf0f
3 changed files with 11 additions and 0 deletions

View File

@ -73,6 +73,11 @@ namespace Bit.Core.Models.Table
return "userId";
}
public bool IsUser()
{
return true;
}
public Dictionary<TwoFactorProviderType, TwoFactorProvider> GetTwoFactorProviders()
{
if(string.IsNullOrWhiteSpace(TwoFactorProviders))