Skip to content

Commit fa147d1

Browse files
authored
Enable login over POST (#430)
1 parent 855ab39 commit fa147d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Parse/ParseUser.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public static function logIn($username, $password)
148148
);
149149
}
150150
$data = ['username' => $username, 'password' => $password];
151-
$result = ParseClient::_request('GET', 'login', '', $data);
151+
$result = ParseClient::_request('POST', 'login', '', json_encode($data));
152152
$user = new static();
153153
$user->_mergeAfterFetch($result);
154154
$user->handleSaveResult(true);

0 commit comments

Comments
 (0)