mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
Update index and create is_connected
This commit is contained in:
parent
32ef6b7c90
commit
a99e159b1f
5 changed files with 11 additions and 420 deletions
|
@ -35,7 +35,7 @@ namespace controllers\publics;
|
|||
*/
|
||||
public function login()
|
||||
{
|
||||
if ($_SESSION['connect'] ?? false)
|
||||
if (\controllers\internals\Tool::is_connected())
|
||||
{
|
||||
return $this->redirect(\descartes\Router::url('Dashboard', 'show'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue