diff --git a/modules/authYubiKey/templates/yubikeylogin.twig b/modules/authYubiKey/templates/yubikeylogin.twig
index d329c030337341024b29ec782a6589ff0059a54f..e34cb074ed7669f44fb872dcf4bc1b3e672a7c90 100644
--- a/modules/authYubiKey/templates/yubikeylogin.twig
+++ b/modules/authYubiKey/templates/yubikeylogin.twig
@@ -8,7 +8,7 @@
 {% block content %}
     {% if errorCode != null %}
     <div style="border-left: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; background: #f5f5f5">
-        <img src="{{ baseurlpath }}resources/icons/experience/gtk-dialog-error.48x48.png" class="float-l" style="margin: 15px;" alt="">
+        <img src="/{{ baseurlpath }}resources/icons/experience/gtk-dialog-error.48x48.png" class="float-l" style="margin: 15px;" alt="">
         <h2>{{ '{login:error_header}'|trans }}</h2>
         <p><span style="text-decoration: bold;">{{ errorTitle }}</p>
         <p>{{ errorDesc }}</p>