1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

custom id fields for paypal

This commit is contained in:
Kyle Spearrin
2019-02-01 09:18:34 -05:00
parent 11f353050f
commit 9882815e4a
5 changed files with 49 additions and 7 deletions

View File

@ -63,6 +63,16 @@ namespace Bit.Core.Models.Table
return "u";
}
public string BraintreeIdField()
{
return "user_id";
}
public string GatewayIdField()
{
return "userId";
}
public Dictionary<TwoFactorProviderType, TwoFactorProvider> GetTwoFactorProviders()
{
if(string.IsNullOrWhiteSpace(TwoFactorProviders))