Permalink
Browse files

[project @ Provide the user_setup_url in the Auth_OpenID_SetupNeededR…

…esponse even in OpenID 2]
  • Loading branch information...
tailor
tailor committed Jul 10, 2008
1 parent 7c4a94a commit 422ac5440ce282a1dbe020764ee7d673d0845b80
Showing with 3 additions and 1 deletion.
  1. +3 −1 Auth/OpenID/Consumer.php
View
@@ -711,7 +711,9 @@ function _complete_setup_needed($message, &$endpoint, $unused)
return $this->_completeInvalid($message, $endpoint);
}
- return new Auth_OpenID_SetupNeededResponse($endpoint);
+ $user_setup_url = $message->getArg(Auth_OpenID_OPENID2_NS,
+ 'user_setup_url');
+ return new Auth_OpenID_SetupNeededResponse($endpoint, $user_setup_url);
}
/**

0 comments on commit 422ac54

Please sign in to comment.