mirror of
https://github.com/cryptoadvance/specter-desktop.git
synced 2026-08-13 12:33:29 +02:00
bugfix: Fix add keys to existing device (#754)
This commit is contained in:
parent
b19beb260c
commit
3902066b36
2 changed files with 2 additions and 2 deletions
|
|
@ -286,7 +286,7 @@ def device(device_alias):
|
|||
strength = 128
|
||||
mnemonic = generate_mnemonic(strength=strength)
|
||||
return render_template(
|
||||
"device/new_device_manual.jinja",
|
||||
"device/new_device.jinja",
|
||||
mnemonic=mnemonic,
|
||||
strength=strength,
|
||||
existing_device=device,
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
</style>
|
||||
<div id="device_setup_wizard" style="width: 100%;" onsubmit="showPacman();">
|
||||
<h1 style="font-size: 2em;">Add {% if existing_device %}Keys{% else %}Device{% endif %}</h1><br>
|
||||
<form id="form" action="./" method="POST" class="card center" style="width: auto; margin: 40px;">
|
||||
<form id="form" action="{{ url_for('devices_endpoint.new_device') }}" method="POST" class="card center" style="width: auto; margin: 40px;">
|
||||
{% if existing_device %}
|
||||
<input type="hidden" name="existing_device" value="{{ existing_device.alias }}">
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue