fix(addressbook(web)): update card on save when certificate is removed

This commit is contained in:
Francis Lachapelle committed 2022-03-21 10:12:21 -04:00
1 parent 547d26af19
commit c7ee4d8c19
5 files changed
+32 -6

No files matched your search

+5 -1
View File
@@ -186,7 +186,11 @@
- (WOResponse *) removeCertificateAction
{
[[[self clientObject] vCard] setCertificate: nil];
SOGoContactGCSEntry *contact;
contact = [self clientObject];
[[contact vCard] setCertificate: nil];
[contact save];
return [self responseWith204];
}