diff --git a/changelog.d/2062.bugfix.md b/changelog.d/2062.bugfix.md new file mode 100644 index 000000000..c8fc4b063 --- /dev/null +++ b/changelog.d/2062.bugfix.md @@ -0,0 +1 @@ +Removing a device from the web UI will no longer show a "Back" link pointing to a 404. Contributed by @ginger. diff --git a/src/web/pages/templates/remove_device.html.j2 b/src/web/pages/templates/remove_device.html.j2 index d82006d3f..265ef05cb 100644 --- a/src/web/pages/templates/remove_device.html.j2 +++ b/src/web/pages/templates/remove_device.html.j2 @@ -6,9 +6,9 @@ Remove a device {%- block content -%}
-

Remove a device Back

{% match body %} {% when RemoveDeviceBody::Form { device_card, last_device } %} +

Remove a device Back

{{ device_card }}

Do you want to remove this device from your account? It will be signed out immediately. @@ -29,8 +29,10 @@ Remove a device {% when RemoveDeviceBody::Success %} +

Remove a device

- The device has been signed out successfully. + The device has been removed successfully. + Back to account settings

{% endmatch %}