diff --git a/mod_auth_mellon.conf b/mod_auth_mellon.conf
index 67b7dcc80be47cecf9c41083c89b56d93107ec2b..eec9701e0ec08b2469b9ceee39ea3f92bb985cb5 100644
--- a/mod_auth_mellon.conf
+++ b/mod_auth_mellon.conf
@@ -9,6 +9,7 @@ SetEnv HTTPS
  MellonSPMetadataFile   /etc/apache2/saml2/sp.xml
  MellonIdPMetadataFile  /etc/apache2/saml2/idp.xml
  MellonSignatureMethod rsa-sha256
+ MellonSetEnvNoPrefix REMOTE_USER username
 </Location>
 
 <Location /admin >