show login form on introduction page only when user is not logged in
This commit is contained in:
parent
c75e771185
commit
166d3bac71
2 changed files with 4 additions and 0 deletions
|
|
@ -28,6 +28,8 @@
|
|||
*/
|
||||
public function index()
|
||||
{
|
||||
// Pass data to view
|
||||
$this->set('userId', $this->Auth->getUserId());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue