diff --git a/php/templates/containers.twig b/php/templates/containers.twig
index 35ed0917..81454c6d 100644
--- a/php/templates/containers.twig
+++ b/php/templates/containers.twig
@@ -175,11 +175,12 @@
Click here to reveal the initial Nextcloud credentials
{% endif %}
Initial Nextcloud username: admin
- Initial Nextcloud password: {{ nextcloud_password }}
+ Initial Nextcloud password:
{% if borg_backup_host_location != '' %}
-
+ {# nextcloud_password needs to be duplicated due to a bug in Firefox. See https://github.com/nextcloud/all-in-one/issues/638. #}
+ {{ nextcloud_password }}
{% else %}
-
+ {{ nextcloud_password }}
{% endif %}
Open your Nextcloud ↗
{% else %}