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