import ciphers, not logins

This commit is contained in:
Kyle Spearrin
2017-09-28 13:11:56 -04:00
parent 3762cebed4
commit 0abcdd9724
4 changed files with 14 additions and 4 deletions

View File

@@ -124,6 +124,16 @@ namespace Bit.Core.Models.Api
});
}
public CipherDetails ToOrganizationCipherDetails(Guid orgId)
{
return ToCipherDetails(new CipherDetails
{
Type = Type,
OrganizationId = orgId,
Edit = true
});
}
public class LoginType
{
[EncryptedString]