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
42663a21
authored
2017-01-13 10:28:19 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
0ffc866c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
signin.php
signinView.php
signin.php
View file @
42663a2
...
...
@@ -153,6 +153,7 @@ $app->post('/disconnect', function () use ($app, $client) {
$client
->
revokeToken
(
$token
);
// Remove the credentials from the user's session.
$app
[
'session'
]
->
set
(
'token'
,
''
);
session_destroy
();
return
new
Response
(
'Successfully disconnected'
,
200
);
});
...
...
signinView.php
View file @
42663a2
...
...
@@ -131,8 +131,7 @@ var helper = (function() {
url
:
$
(
location
).
attr
(
'origin'
)
+
'/signin.php/disconnect'
,
async
:
false
,
success
:
function
(
result
)
{
alert
(
result
);
console
.
log
(
'revoke response:'
);
console
.
log
(
'revoke response: '
+
result
);
$
(
'#authOps'
).
hide
();
$
(
'#profile'
).
empty
();
$
(
'#visiblePeople'
).
empty
();
...
...
@@ -284,8 +283,7 @@ function signInClick() {
url
:
$
(
location
).
attr
(
'origin'
)
+
'/signin.php/disconnect'
,
async
:
false
,
success
:
function
(
result
)
{
alert
(
result
);
console
.
log
(
'revoke response:'
);
console
.
log
(
'revoke response: '
+
result
);
$
(
'#authOps'
).
hide
();
$
(
'#profile'
).
empty
();
$
(
'#visiblePeople'
).
empty
();
...
...
Please
register
or
sign in
to post a comment