Skip to content

Commit

Permalink
feat: Prevent from creating Profiles
Browse files Browse the repository at this point in the history
We want to remove the concept of `Profiles` as they overlap with Cozy's
`Contacts`

In cozy-keys-browser we will add the concept of `Contacts` to replace
old profiles, but in cozy-pass-mobile we won't add this for now as it
would require more work that we did not prioritize yet (we may want to
wait for future Bitwarden's announced technology switch)

This commit prevents from creating a `Profile` cipher

Related PR: cozy/cozy-keys-browser#169
  • Loading branch information
Ldoppea committed Mar 29, 2024
1 parent c6756ff commit 02b3657
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/App/Pages/Vault/AddEditPageViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ public AddEditPageViewModel()
{
new KeyValuePair<string, CipherType>(AppResources.TypeLogin, CipherType.Login),
new KeyValuePair<string, CipherType>(AppResources.TypeCard, CipherType.Card),
// Cozy Customization, Prevent to create Profiles as they will be replaced by Cozy Contacts
/*
new KeyValuePair<string, CipherType>(AppResources.TypeIdentity, CipherType.Identity)
//*/
};
CardBrandOptions = new List<KeyValuePair<string, string>>
{
Expand Down

0 comments on commit 02b3657

Please sign in to comment.