send local time to server for email colors!
This commit is contained in:
@@ -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',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -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',
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user