Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
scnakandala committed Jun 28, 2017
1 parent 78adc90 commit e521a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/AccountController.php
Expand Up @@ -241,7 +241,7 @@ public function oauthCallback()
Session::put("gateway_id", Config::get('pga_config.airavata')['gateway-id']);

if(Session::get("admin") || Session::get("admin-read-only") || Session::get("authorized-user")){
return $this->initializeWithAiravata($username, $userEmail, $firstName, $lastName);
return $this->initializeWithAiravata($username, $userEmail, $firstName, $lastName, $accessToken);
}

if(Session::has("admin") || Session::has("admin-read-only")){
Expand Down

0 comments on commit e521a64

Please sign in to comment.