mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Prompt user before downloading a keytab that this will create a new secret,
breaking any existing keytabs for that principal.
This commit is contained in:
parent
592329af18
commit
40ff6f21db
@ -16,6 +16,14 @@
|
||||
<script type="text/javascript">
|
||||
document.getElementById("hostname").focus();
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
function confirmDownload() {
|
||||
if (confirm("Are you sure you want to download this principal? It will reset the secret, invalidating any existing keytabs")) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
<div py:if='(principals != None) and (len(principals) > 0)'>
|
||||
<h2>${len(principals)} results returned:</h2>
|
||||
@ -33,7 +41,7 @@
|
||||
<tbody>
|
||||
<tr py:for="principal in principals">
|
||||
<td>
|
||||
<a href="${tg.url('/principal/show',principal=principal.krbprincipalname)}"
|
||||
<a href="${tg.url('/principal/show',principal=principal.krbprincipalname)}" onclick="return confirmDownload();"
|
||||
>${principal.hostname}</a>
|
||||
</td>
|
||||
<td>
|
||||
|
Loading…
Reference in New Issue
Block a user