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