Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
pdf-customizer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8c91b466
authored
2016-10-06 16:23:41 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
333
1 parent
bd1c3087
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
app/Http/Controllers/GoogledriveuploadpdfController.php
app/Http/routes.php
app/Http/Controllers/GoogledriveuploadpdfController.php
View file @
8c91b46
...
...
@@ -264,7 +264,7 @@ public function isGoogleFolderCreated($cust_id)
}
public
function
GoogleTokenCode
()
public
function
GoogleTokenCode
(
Request
$request
)
{
session_start
();
...
...
@@ -284,7 +284,7 @@ public function isGoogleFolderCreated($cust_id)
$client
->
setApprovalPrompt
(
'force'
);
$code
=
Input
::
ge
t
(
'code'
);
$code
=
$request
->
inpu
t
(
'code'
);
$client
->
authenticate
(
$code
);
$_SESSION
[
'token'
]
=
$client
->
getAccessToken
();
...
...
app/Http/routes.php
View file @
8c91b46
...
...
@@ -11,7 +11,7 @@
|
*/
use
Illuminate\Support\Facades\Input
;
Route
::
get
(
'/'
,
function
()
{
return
view
(
'welcome'
);
...
...
Please
register
or
sign in
to post a comment