Changeset 20369 for extensions/oAuth/main.inc.php
- Timestamp:
- Jan 25, 2013, 12:26:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/oAuth/main.inc.php
r20337 r20369 117 117 118 118 // in case of registration aborded 119 if ( script_basename() != 'register')119 if ( script_basename() != 'register' and ($data=pwg_get_session_var('oauth_new_user')) !== null ) 120 120 { 121 121 pwg_unset_session_var('oauth_new_user'); 122 123 require_once(OAUTH_PATH . 'include/hybridauth/Hybrid/Auth.php'); 124 125 try { 126 $hybridauth = new Hybrid_Auth($hybridauth_conf); 127 $adapter = $hybridauth->getAdapter($data[0]); 128 $adapter->logout(); 129 } 130 catch (Exception $e) { 131 } 122 132 } 123 133 }
Note: See TracChangeset
for help on using the changeset viewer.