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
d78af389
authored
2016-07-20 16:42:18 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
e
1 parent
b443899a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
app/Http/Controllers/AuthenticateController.php
app/Http/Controllers/GoogledriveuploadpdfController.php
app/Http/Controllers/AuthenticateController.php
View file @
d78af38
...
...
@@ -33,7 +33,11 @@ class AuthenticateController extends Controller
$_SESSION
[
'user_id'
]
=
$user
[
0
]
->
id
;
error_log
(
$_SESSION
[
'user_id'
]);
return
response
()
->
json
(
compact
(
'token'
));
}
public
function
getAuthenticatedUser
()
{
...
...
app/Http/Controllers/GoogledriveuploadpdfController.php
View file @
d78af38
...
...
@@ -31,9 +31,9 @@ class GoogledriveuploadpdfController extends Controller
session_start
();
$pdffile
=
new
FileEntryController
();
$pdfFile
=
$pdffile
->
getPDF
(
$folder
,
$filename
);
//error_log
($_SESSION['user_id']);
var_dump
(
$_SESSION
[
'user_id'
]);
$user
=
new
pdfModel
();
$user
=
$user
->
getGoogleUserOath
(
$_SESSION
[
'user_id'
]
)
->
get
();;
$user
=
$user
->
getGoogleUserOath
(
$_SESSION
[
'user_id'
])
->
get
();;
...
...
Please
register
or
sign in
to post a comment