Skip to content

Instantly share code, notes, and snippets.

@tony2001
Created March 18, 2016 11:36
Show Gist options
  • Save tony2001/3b9e26ab6347888bea04 to your computer and use it in GitHub Desktop.
Save tony2001/3b9e26ab6347888bea04 to your computer and use it in GitHub Desktop.
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