Implementado Solicitar Token de Seguridad (Web)

This commit is contained in:
adevopg
2024-11-13 14:39:05 +01:00
parent 8e28cda932
commit 797cfaa129
11 changed files with 373 additions and 16 deletions
+1
View File
@@ -48,6 +48,7 @@
<script src="{{ URL_PRINCIPAL }}/static/nw-themes/nw-ryu/nw-js-handlers/trade_points_response.js"></script>
<script src="{{ URL_PRINCIPAL }}/static/nw-themes/nw-ryu/nw-js-handlers/change_email_response.js"></script>
<script src="{{ URL_PRINCIPAL }}/static/nw-themes/nw-ryu/nw-js-handlers/register.js"></script>
<script src="{{ URL_PRINCIPAL }}/static/nw-themes/nw-ryu/nw-js-handlers/security_token_response.js"></script>
<script>var aowow_tooltips = { "colorlinks": true, "iconizelinks": true, "renamelinks": true }</script>
<script src="{{ URL_PRINCIPAL }}/static/nw-themes/nw-ryu/nw-js/nw-scripts.js"></script>
+3 -2
View File
@@ -24,9 +24,10 @@
<br>
<br>
<p>Fecha de solicitud de Token de seguridad:</p>
<p><span>Sin solicitar</span></p>
<p><span id="token-date">{{ token_date }}</span></p>
<br>
<form id="uw-sec-token-form" action="" method="POST" accept-charset="utf-8">
<form id="nw-sec-token-form" method="POST">
{% csrf_token %}
<button class="sec-token-button" type="submit" name="securitytoken" data-id="Sectoken">Solicitar token</button>
</form>
<br>