This commit is contained in:
Hamza-Ayed
2024-06-22 13:12:35 +03:00
parent 1cc0156cfd
commit 3c5321f70b
67 changed files with 91 additions and 740 deletions

View File

@@ -83,14 +83,12 @@ class RegisterController extends GetxController {
'site': siteController.text,
'birthdate': birthDate,
});
print(jsonDecode(res));
if (jsonDecode(res)['status'] == 'success') {
print('sdfffffffffff');
int randomNumber = Random().nextInt(100000) + 1;
await CRUD().post(link: AppLink.sendVerifyEmail, payload: {
'email': emailController.text,
'token': randomNumber.toString(),
}).then((value) => print(value));
});
Get.to(() => const VerifyEmailPage());
}
}