Small bugfixes
parent
d90320f5f9
commit
656cd3c976
|
@ -12,14 +12,15 @@ return [
|
||||||
'folder' => '/jilo-web/',
|
'folder' => '/jilo-web/',
|
||||||
// site name used in emails and in the interface
|
// site name used in emails and in the interface
|
||||||
'site_name' => 'Jilo Web',
|
'site_name' => 'Jilo Web',
|
||||||
|
|
||||||
// session configuration
|
// session configuration
|
||||||
'session' => [
|
'session' => [
|
||||||
// session name, if empty a random one will be generated
|
// session name, if empty a random one will be generated
|
||||||
'name' => 'jilo',
|
'name' => 'jilo',
|
||||||
// 2 hours (7200) default, when "remember me" is not checked
|
// 2 hours (7200) default, when "remember me" is not checked
|
||||||
'lifetime' => 7200,
|
'lifetime' => '7200',
|
||||||
// 30 days (2592000) default, when "remember me" is checked
|
// 30 days (2592000) default, when "remember me" is checked
|
||||||
'remember_me_lifetime' => 2592000,
|
'remember_me_lifetime' => '2592000',
|
||||||
],
|
],
|
||||||
// set to false to disable new registrations
|
// set to false to disable new registrations
|
||||||
'registration_enabled' => true,
|
'registration_enabled' => true,
|
||||||
|
|
|
@ -62,7 +62,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Apply rate limiting
|
// Apply rate limiting
|
||||||
require '../app/includes/rate_limit_middleware.php';
|
require_once '../app/includes/rate_limit_middleware.php';
|
||||||
checkRateLimit($db, 'config', $userId);
|
checkRateLimit($db, 'config', $userId);
|
||||||
|
|
||||||
// Ensure no output before this point
|
// Ensure no output before this point
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<title>Jilo Web</title>
|
<title><?= htmlspecialchars($config['site_name']) ?></title>
|
||||||
<link rel="icon" type="image/x-icon" href="<?= htmlspecialchars($app_root) ?>static/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="<?= htmlspecialchars($app_root) ?>static/favicon.ico">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue