If team certificate file not found, propose to generate it
This commit is contained in:
parent
716e1e7ccd
commit
39ca8940e1
@ -22,5 +22,7 @@ if (is_file($VAR["misc_dir"]."/challenge_started"))
|
||||
$template->assign("END", $VAR['end_challenge']);
|
||||
}
|
||||
|
||||
if (!empty($VAR['misc_dir']))
|
||||
$template->assign("MISC_DIR", $VAR['misc_dir']);
|
||||
if (!empty($LANG))
|
||||
$template->assign("LANG", $LANG);
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user