Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix redirect after logging in FB

  • Loading branch information...
commit da4ac52ce767132f2f24e40d8f17f807b10e340b 1 parent fe018c7
@laoshanlung laoshanlung authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 yii/modules/Yiidis/components/YiidisController.php
View
4 yii/modules/Yiidis/components/YiidisController.php
@@ -8,7 +8,7 @@ class YiidisController extends CController {
public function beforeAction() {
if (isset($_GET['state']) && strstr(Yii::app()->request->getUrlReferrer(), 'facebook.com')) {
$this->getUser(true);
- $this->redirect(array('yiidis/facebook/cleanupUrl'));
+ $this->redirect(array('facebook/cleanupUrl'));
}
return $this->getUser();
}
@@ -48,4 +48,4 @@ public function getSession() {
return RedisSession::ensure($sessionID);
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.