send local time to server for email colors!

This commit is contained in:
2026-01-08 15:41:31 -06:00
parent 08f1c05ac2
commit ebce85068e
2 changed files with 4 additions and 0 deletions

View File

@@ -42,9 +42,11 @@ class _ForgotPasswordScreenState extends State<ForgotPasswordScreen> {
}); });
try { try {
final localHour = DateTime.now().hour;
final response = await regularPost( final response = await regularPost(
{ {
'email': _emailController.text.trim(), 'email': _emailController.text.trim(),
'localHour': localHour,
}, },
'/forgot-password', '/forgot-password',
); );

View File

@@ -124,9 +124,11 @@ class _VerifyResetCodeScreenState extends State<VerifyResetCodeScreen> {
}); });
try { try {
final localHour = DateTime.now().hour;
final response = await regularPost( final response = await regularPost(
{ {
'email': widget.email, 'email': widget.email,
'localHour': localHour,
}, },
'/forgot-password', '/forgot-password',
); );