Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Leymonerie
slapos.core
Commits
072a03a3
Commit
072a03a3
authored
Jul 05, 2017
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
portal_type 'Certificate Access ID' renamed to 'Certificate Login'
parent
58779389
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
master/product/SlapOS/SlapOSMachineAuthenticationPlugin.py
master/product/SlapOS/SlapOSMachineAuthenticationPlugin.py
+1
-1
master/product/Vifib/Tool/SlapTool.py
master/product/Vifib/Tool/SlapTool.py
+1
-1
No files found.
master/product/SlapOS/SlapOSMachineAuthenticationPlugin.py
View file @
072a03a3
...
...
@@ -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
...
...
master/product/Vifib/Tool/SlapTool.py
View file @
072a03a3
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment