fix[DashboardController]

This commit is contained in:
Dario Rekowski on RockPI 2019-10-30 17:24:53 +00:00
parent c31e33c34a
commit 65d4f1c779
3 changed files with 7 additions and 6 deletions

@ -1 +1 @@
Subproject commit 92d3e9def837e48f2d8e3da0b2de487e6fa27d7b Subproject commit 2e6245c8eb8d86945f5b251f01e5a1d56c84cce7

View File

@ -91,7 +91,7 @@ class DashboardController extends AppController
//echo $newStateUser->id; //echo $newStateUser->id;
} }
} }
}
// for debugging // for debugging
@ -100,13 +100,14 @@ class DashboardController extends AppController
//$this->set('json', $json); //$this->set('json', $json);
$this->set('timeUsed', microtime(true) - $startTime); $this->set('timeUsed', microtime(true) - $startTime);
} else { } else {
if($json['state'] === 'not found' ) { if($json['state'] === 'not found' ) {
$this->Flash->error(__('invalid session')); $this->Flash->error(__('invalid session'));
//echo $json['user']['email_checked']; //echo $json['user']['email_checked'];
//var_dump($json); //var_dump($json);
// //
//return $this->redirect(Router::url('/', true) . 'account/', 303); //return $this->redirect(Router::url('/', true) . 'account/', 303);
}
} }
} }

View File

@ -40,7 +40,7 @@ $transactionPendings = $session->read('Transactions.pending');
<body> <body>
<div class="versionstring dev-info"> <div class="versionstring dev-info">
<p class="grd_small">Community Server in Entwicklung</p> <p class="grd_small">Community Server in Entwicklung</p>
<p class="grd_small">Alpha 0.4.2</p> <p class="grd_small">Alpha 0.4.3</p>
</div> </div>
<nav class="grd-left-bar expanded" data-topbar role="navigation"> <nav class="grd-left-bar expanded" data-topbar role="navigation">
<div class="grd-left-bar-section"> <div class="grd-left-bar-section">