Skip to content

Commit 4c64f33

Browse files
committed
Revert "remove refresh-token check that is no longer needed"
This reverts commit bd6e408.
1 parent 8c7278e commit 4c64f33

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

solid/lib/Controller/ServerController.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ private function createAuthServerConfig() {
109109
if (isset($_GET['client_id'])) {
110110
$clientId = $_GET['client_id'];
111111
} else if (isset($_POST['client_id'])) {
112-
$clientId = $_POST['client_id'];
112+
if (isset($_POST['refresh_token'])) { // FIXME: Why does the test suite break without this?
113+
$clientId = $_POST['client_id'];
114+
}
113115
}
114116
$client = $this->getClient($clientId);
115117
$keys = $this->getKeys();

0 commit comments

Comments
 (0)