close #15 New account delete option

This commit is contained in:
Exodus4D
2015-09-13 16:53:42 +02:00
parent a1dbbe39d5
commit 5ffb03e73a
16 changed files with 474 additions and 122 deletions

View File

@@ -183,7 +183,8 @@ class Controller {
public function logOut($f3){
// destroy session
$f3->clear('SESSION');
$f3->clear('SESSION.user');
$f3->sync('SESSION');
if( !$f3->get('AJAX') ){
// redirect to landing page