Example #1
0
File: oauth.php Project: anqh/anqh
 /**
  * Action: Login with 3rd party credentials.
  */
 public function action_disconnect()
 {
     if ($this->external && $this->external->loaded()) {
         $this->external->delete();
         $this->request->redirect(URL::user(Visitor::$user, 'settings'));
     }
     Request::back();
 }