Created
March 18, 2016 11:36
-
-
Save tony2001/3b9e26ab6347888bea04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/application/classes/Auth/GPlus.php b/application/classes/Auth/GPlus.php | |
index 0040d06..c0dbc6f 100644 | |
--- a/application/classes/Auth/GPlus.php | |
+++ b/application/classes/Auth/GPlus.php | |
@@ -128,7 +128,7 @@ class Auth_GPlus extends Auth { | |
try { | |
$plus = GPlus::instance(); | |
$userInfo = $plus->getUserinfo(); | |
- } catch (Google_AuthException $e) { | |
+ } catch (Google_Exception $e) { | |
$this->logout(); | |
HTTP::redirect('/'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment