|
@@ -61,7 +61,7 @@
|
61
|
61
|
* @param String $server The server to associate with
|
62
|
62
|
*/
|
63
|
63
|
public static function associate($server) {
|
64
|
|
- $data = URLBuilder::buildAssociate($server);
|
|
64
|
+ $data = URLBuilder::buildAssociate($server, $_SESSION['openid']['version']);
|
65
|
65
|
|
66
|
66
|
try {
|
67
|
67
|
$res = Poster::post($server, $data);
|
|
@@ -239,7 +239,7 @@
|
239
|
239
|
* @return True if the request has been authenticated, false otherwise.
|
240
|
240
|
*/
|
241
|
241
|
public static function dumbAuthenticate() {
|
242
|
|
- $url = URLBuilder::buildAuth($_REQUEST);
|
|
242
|
+ $url = URLBuilder::buildAuth($_REQUEST, $_SESSION['openid']['version']);
|
243
|
243
|
|
244
|
244
|
try {
|
245
|
245
|
$data = Poster::post($_SESSION['openid']['server'], $url);
|