diff --git a/www/auth/login-feide.php b/www/auth/login-feide.php
index 2f1c9c46a1888fadd733594c725fbb48ebd7b135..b0a11ec4477be94d06c54efbe6ee1bec204f3e32 100644
--- a/www/auth/login-feide.php
+++ b/www/auth/login-feide.php
@@ -299,7 +299,7 @@ if(array_key_exists('contact', $spmetadata)) {
 if(array_key_exists('attributes', $spmetadata)) {
 	$t->data['attrib'] = $spmetadata['attributes'];
 } else {
-	$t->data['contact'] = NULL;
+	$t->data['attrib'] = NULL;
 }
 
 $t->data['selectorg'] = $selectorg;