mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-21 14:43:31 +00:00
fix(addressbook(web)): update card on save when certificate is removed
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user