feat: add notifications_enabled toggle for users (web + Android)

This commit is contained in:
2026-06-13 17:28:59 -04:00
parent 4fa57e8688
commit 2c6728be12
12 changed files with 354 additions and 10 deletions

View File

@@ -194,6 +194,12 @@ class AuthController
$updateData = ['email' => $_POST['email']];
if (isset($_POST['notifications_enabled'])) {
$updateData['notifications_enabled'] = 1;
} else {
$updateData['notifications_enabled'] = 0;
}
if (!empty($_POST['new_password'])) {
$updateData['password'] = $_POST['new_password'];
}