If team certificate file not found, propose to generate it
This commit is contained in:
parent
716e1e7ccd
commit
39ca8940e1
2 changed files with 3 additions and 1 deletions
|
|
@ -23,7 +23,7 @@
|
|||
<span class="glyphicon glyphicon-trash"></span></a>
|
||||
<a href="/{$SALT_ADMIN}/certificate/get?name={$t->team_name}">
|
||||
<span class="glyphicon glyphicon-floppy-save"></span></a>
|
||||
{if not $t->revoked}
|
||||
{if not $t->revoked && is_file("{$MISC_DIR}/pki/pkcs/{$t->team_name}.p12")}
|
||||
<a href="/{$SALT_ADMIN}/certificate/revoke?name={$t->team_name}"
|
||||
onclick="return confirm('Êtes-vous sûr de vouloir révoquer ce certificat ?')">
|
||||
<span class="glyphicon glyphicon-remove"></span></a>
|
||||
|
|
|
|||
Reference in a new issue