git.cweiske.de
/
indieauth-openid.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a6d7b71
)
read state from POST (copy&paste error)
v0.1.1
author
Christian Weiske
<cweiske@cweiske.de>
Tue, 30 Sep 2014 19:57:07 +0000
(21:57 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Tue, 30 Sep 2014 19:57:07 +0000
(21:57 +0200)
www/index.php
patch
|
blob
|
history
diff --git
a/www/index.php
b/www/index.php
index 52571a2d753d4e28ce4432da334bff62728f20d1..496d7d3bbede3e1bd271971a036ce511e03ca419 100644
(file)
--- a/
www/index.php
+++ b/
www/index.php
@@
-205,8
+205,8
@@
if ($_SERVER['REQUEST_METHOD'] == 'GET') {
$redirect_uri = verifyUrlParameter($_POST, 'redirect_uri');
$client_id = verifyUrlParameter($_POST, 'client_id');
$state = null;
- if (isset($_
GE
T['state'])) {
- $state = $_
GE
T['state'];
+ if (isset($_
POS
T['state'])) {
+ $state = $_
POS
T['state'];
}
if (!isset($_POST['code'])) {
error('"code" parameter missing');