From ebce85068e38033485ebbb6fe9afec31f81a2e7c Mon Sep 17 00:00:00 2001 From: pulipakaa24 Date: Thu, 8 Jan 2026 15:41:31 -0600 Subject: [PATCH] send local time to server for email colors! --- lib/BlindMasterScreens/Startup/forgot_password_screen.dart | 2 ++ lib/BlindMasterScreens/Startup/verify_reset_code_screen.dart | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/BlindMasterScreens/Startup/forgot_password_screen.dart b/lib/BlindMasterScreens/Startup/forgot_password_screen.dart index 74a21e9..1f84e53 100644 --- a/lib/BlindMasterScreens/Startup/forgot_password_screen.dart +++ b/lib/BlindMasterScreens/Startup/forgot_password_screen.dart @@ -42,9 +42,11 @@ class _ForgotPasswordScreenState extends State { }); try { + final localHour = DateTime.now().hour; final response = await regularPost( { 'email': _emailController.text.trim(), + 'localHour': localHour, }, '/forgot-password', ); diff --git a/lib/BlindMasterScreens/Startup/verify_reset_code_screen.dart b/lib/BlindMasterScreens/Startup/verify_reset_code_screen.dart index 9288d2d..05f5256 100644 --- a/lib/BlindMasterScreens/Startup/verify_reset_code_screen.dart +++ b/lib/BlindMasterScreens/Startup/verify_reset_code_screen.dart @@ -124,9 +124,11 @@ class _VerifyResetCodeScreenState extends State { }); try { + final localHour = DateTime.now().hour; final response = await regularPost( { 'email': widget.email, + 'localHour': localHour, }, '/forgot-password', );