Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
banners-with-skip
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
76692a87
authored
2017-01-13 11:44:08 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ee
1 parent
6fffdb71
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
signin.php
signin.php
View file @
76692a8
...
...
@@ -151,12 +151,13 @@ $app->get('/activities', function () use ($app, $client, $plus) {
// Revoke current user's token and reset their session.
$app
->
post
(
'/disconnect'
,
function
()
use
(
$app
,
$client
)
{
error_log
(
'destroy_start'
);
//error_log(print_r($app, true)
);
$token
=
json_decode
(
$app
[
'session'
]
->
get
(
'token'
))
->
access_token
;
$client
->
revokeToken
(
$token
);
// Remove the credentials from the user's session.
$app
[
'session'
]
->
set
(
'token'
,
''
);
unset
(
$app
);
unset
(
$client
);
unset
(
$_SESSION
);
session_destroy
();
session_unset
();
...
...
Please
register
or
sign in
to post a comment