diff --git a/lib/SimpleSAML/Auth/Default.php b/lib/SimpleSAML/Auth/Default.php
index b35b000ff9a29e8799466275f4da4907f3842ec7..defc859762aaefd599f6e5d7620aa21a9ccdd36b 100644
--- a/lib/SimpleSAML/Auth/Default.php
+++ b/lib/SimpleSAML/Auth/Default.php
@@ -42,7 +42,7 @@ class SimpleSAML_Auth_Default {
 		));
 
 		if (is_string($return)) {
-			$state['SimpleSAML_Auth_Default.Return'] = $return;
+			$state['SimpleSAML_Auth_Default.ReturnURL'] = $return;
 		}
 
 		if ($errorURL !== NULL) {