register('Furentes', 'furentes@furentes.de', '123456789')); // print_r($auth->login('Furentes', '123456789')); // echo $auth->isLoggedIn(); // echo $auth->logout(); if ($auth->isLoggedIn()) { header('Location: /'); } $errors = []; if (isset($_POST['login'])) { $login = $auth->login($_POST['user'], $_POST['password']); if (is_array($login)) { $errors = $login; } else { header('Location: /'); } } ?> Login - <?= (defined("SITE_TITLE")) ? SITE_TITLE : 'A Bloggr Site' ?>

Login

$value): ?>