show login form on introduction page only when user is not logged in

This commit is contained in:
coderkun 2014-04-05 13:47:15 +02:00
commit 166d3bac71
2 changed files with 4 additions and 0 deletions

View file

@ -28,6 +28,8 @@
*/
public function index()
{
// Pass data to view
$this->set('userId', $this->Auth->getUserId());
}
}