mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 04:49:21 +00:00
Fix conflict
This commit is contained in:
parent
a076c08429
commit
45cd7f1481
@ -174,7 +174,7 @@ class AccountHelper {
|
|||||||
String token) async {
|
String token) async {
|
||||||
final response =
|
final response =
|
||||||
await APIRequest.withoutLogin("account/check_password_reset_token")
|
await APIRequest.withoutLogin("account/check_password_reset_token")
|
||||||
.addString("token", token)
|
.addString("reset_token", token)
|
||||||
.execWithThrowGetObject();
|
.execWithThrowGetObject();
|
||||||
|
|
||||||
return ResCheckPasswordToken(
|
return ResCheckPasswordToken(
|
||||||
@ -190,7 +190,7 @@ class AccountHelper {
|
|||||||
static Future<void> changeAccountPassword(
|
static Future<void> changeAccountPassword(
|
||||||
String token, String password) async =>
|
String token, String password) async =>
|
||||||
await APIRequest.withoutLogin("account/reset_user_passwd")
|
await APIRequest.withoutLogin("account/reset_user_passwd")
|
||||||
.addString("token", token)
|
.addString("reset_token", token)
|
||||||
.addString("password", password)
|
.addString("password", password)
|
||||||
.execWithThrow();
|
.execWithThrow();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user