Commit b2f3bed6 by Paul Klimov

OpenId client refactor in progress.

parent d6f35f07
...@@ -233,7 +233,7 @@ class AuthAction extends Action ...@@ -233,7 +233,7 @@ class AuthAction extends Action
$provider->realm = $request->getHostInfo(); $provider->realm = $request->getHostInfo();
$provider->returnUrl = $provider->realm . $request->getUrl(); // getting return URL $provider->returnUrl = $provider->realm . $request->getUrl(); // getting return URL
$url = $provider->authUrl(); $url = $provider->buildAuthUrl();
return Yii::$app->getResponse()->redirect($url); return Yii::$app->getResponse()->redirect($url);
} }
return $this->redirectCancel(); return $this->redirectCancel();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment