feat: add monthly budget field and statistics (#329)

This commit is contained in:
Miguel Ribeiro
2024-05-17 23:14:17 +02:00
committed by GitHub
parent e21500a719
commit b622434ca0
24 changed files with 286 additions and 14 deletions
+1
View File
@@ -51,6 +51,7 @@ if (isset($_POST['username']) && isset($_POST['password'])) {
$_SESSION['username'] = $username;
$_SESSION['loggedin'] = true;
$_SESSION['main_currency'] = $main_currency;
$_SESSION['userId'] = $userId;
$cookieExpire = time() + (30 * 24 * 60 * 60);
setcookie('language', $language, $cookieExpire);
if ($rememberMe) {