diff --git a/modules/consent/templates/consentform.php b/modules/consent/templates/consentform.php
index 3c19503ba1a890b7f01ada26ee65a293e5f03e55..399fa6bedb37c2bcf9a4717c45bec0f99959ee8e 100644
--- a/modules/consent/templates/consentform.php
+++ b/modules/consent/templates/consentform.php
@@ -19,7 +19,7 @@ $srcName = $this->data['srcName'];
 
 $this->data['header'] = $this->t('{consent:consent:consent_header}');
 $this->data['head'] = '<link rel="stylesheet" type="text/css" href="'.
-    SimpleSAML\Module::getModuleURL("consent/style.css").'" />'."\n";
+    SimpleSAML\Module::getModuleURL("consent/assets/consent.css").'" />'."\n";
 
 $this->includeAtTemplateBase('includes/header.php');
 ?>
diff --git a/modules/consent/templates/consentform.twig b/modules/consent/templates/consentform.twig
index e33dcf8a63c6839769098b9befa9b5a28c98d90b..e6674d7b1a9100f36e3b97578ba4bb35ce2151b9 100644
--- a/modules/consent/templates/consentform.twig
+++ b/modules/consent/templates/consentform.twig
@@ -2,7 +2,7 @@
 {% extends "base.twig" %}
 
 {% block preload %}
-<link rel="stylesheet" type="text/css" href="{{ baseurlpath }}consent/style.css" />
+<link rel="stylesheet" type="text/css" href="{{ baseurlpath }}assets/consent.css" />
 {% endblock %}
 
 {% block content %}
diff --git a/modules/consent/www/style.css b/modules/consent/www/assets/consent.css
similarity index 100%
rename from modules/consent/www/style.css
rename to modules/consent/www/assets/consent.css