333
Showing
2 changed files
with
3 additions
and
3 deletions
| ... | @@ -264,7 +264,7 @@ public function isGoogleFolderCreated($cust_id) | ... | @@ -264,7 +264,7 @@ public function isGoogleFolderCreated($cust_id) |
| 264 | } | 264 | } |
| 265 | 265 | ||
| 266 | 266 | ||
| 267 | public function GoogleTokenCode() | 267 | public function GoogleTokenCode(Request $request) |
| 268 | { | 268 | { |
| 269 | 269 | ||
| 270 | session_start(); | 270 | session_start(); |
| ... | @@ -284,7 +284,7 @@ public function isGoogleFolderCreated($cust_id) | ... | @@ -284,7 +284,7 @@ public function isGoogleFolderCreated($cust_id) |
| 284 | 284 | ||
| 285 | $client->setApprovalPrompt('force'); | 285 | $client->setApprovalPrompt('force'); |
| 286 | 286 | ||
| 287 | $code = Input::get('code'); | 287 | $code = $request->input('code'); |
| 288 | $client->authenticate($code); | 288 | $client->authenticate($code); |
| 289 | $_SESSION['token'] = $client->getAccessToken(); | 289 | $_SESSION['token'] = $client->getAccessToken(); |
| 290 | 290 | ... | ... |
-
Please register or sign in to post a comment