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
8cafabce
authored
2017-01-13 11:57:01 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ee
1 parent
76692a87
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
signin.php
signin.php
View file @
8cafabc
...
...
@@ -19,7 +19,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
session_start
();
/*
* Note (Gerwin Sturm):
* Include path is still necessary despite autoloading because of the require_once in the libary
...
...
@@ -159,11 +159,15 @@ $app->post('/disconnect', function () use ($app, $client) {
unset
(
$app
);
unset
(
$client
);
unset
(
$_SESSION
);
session_start
();
session_destroy
();
session_unset
();
session_write_close
();
setcookie
(
session_name
(),
''
,
0
,
'/'
);
session_regenerate_id
(
true
);
error_log
(
'destroy'
);
return
new
Response
(
'Successfully disconnected'
,
200
);
});
...
...
Please
register
or
sign in
to post a comment