Commit 072a03a3 authored by Alain Takoudjou's avatar Alain Takoudjou

portal_type 'Certificate Access ID' renamed to 'Certificate Login'

parent 58779389
......@@ -108,7 +108,7 @@ class SlapOSMachineAuthenticationPlugin(BasePlugin):
meta_type = "SlapOS Machine Authentication Plugin"
security = ClassSecurityInfo()
certificate_portal_type = "Certificate Access ID"
certificate_portal_type = "Certificate Login"
def __init__(self, id, title=None):
#Register value
......
......@@ -1214,7 +1214,7 @@ class SlapTool(BaseTool):
)
# revoke certificate associated to this instance
for certificate_id in instance.contentValues(
portal_type='Certificate Access ID', validation_state='validated'):
portal_type='Certificate Login', validation_state='validated'):
if certificate_id.getValidationState() == 'validated':
instance.revokeCertificate(certificate_id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment