Skip to content

Commit c4c50dd

Browse files
Add logout_url in device setup as back option
1 parent 0bdec10 commit c4c50dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/hidp/hidp/templates/hidp/otp/setup_device.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ <h2>{% translate 'Recovery codes' %}</h2>
6666
{{ form.confirm_stored_backup_tokens }}
6767
</p>
6868

69-
{% include 'hidp/includes/forms/submit_row.html' with submit_label=_('Submit') cancel_label=_('Back') cancel_url=back_url %}
69+
{% include 'hidp/includes/forms/submit_row.html' with submit_label=_('Submit') %}
7070
</form>
71+
72+
{% include 'hidp/includes/forms/logout_form.html' with logout_label=_('Back') %}
7173
{% endblock %}

0 commit comments

Comments
 (0)