mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
forget_password&power_clamp_issue
This commit is contained in:
@ -18,10 +18,11 @@ class AuthenticationAPI {
|
||||
static Future forgetPassword({
|
||||
required var email,
|
||||
required var password,
|
||||
required var otpCode,
|
||||
}) async {
|
||||
final response = await HTTPService().post(
|
||||
path: ApiEndpoints.forgetPassword,
|
||||
body: {"email": email, "password": password},
|
||||
body: {"email": email, "password": password,"otpCode": otpCode},
|
||||
showServerMessage: true,
|
||||
expectedResponseModel: (json) {});
|
||||
return response;
|
||||
|
Reference in New Issue
Block a user