Skip to content

Commit da674d2

Browse files
Merge pull request #547 from jjunineuro/development
Change to the method to POST in the Login
2 parents 8c88375 + 4db0ebc commit da674d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/dart/lib/src/objects/parse_user.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,11 @@ class ParseUser extends ParseObject implements ParseCloneable {
216216
keyVarPassword: password
217217
};
218218
final String installationId = await _getInstallationId();
219-
final Uri url = getSanitisedUri(_client, '$keyEndPointLogin',
220-
queryParams: queryParams);
219+
final Uri url = getSanitisedUri(_client, '$keyEndPointLogin');
221220
_saveChanges();
222-
final ParseNetworkResponse response = await _client.get(
221+
final ParseNetworkResponse response = await _client.post(
223222
url.toString(),
223+
data: jsonEncode(queryParams),
224224
options: ParseNetworkOptions(headers: <String, String>{
225225
keyHeaderRevocableSession: '1',
226226
if (installationId != null && !doNotSendInstallationID)

0 commit comments

Comments
 (0)