projects
/
authserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ea0452a
)
suppress error as result will be fine
author
Robert Kaiser
<kairo@kairo.at>
Sat, 29 Oct 2016 17:18:31 +0000
(19:18 +0200)
committer
Robert Kaiser
<kairo@kairo.at>
Sat, 29 Oct 2016 17:18:31 +0000
(19:18 +0200)
authorize.php
patch
|
blob
|
blame
|
history
diff --git
a/authorize.php
b/authorize.php
index 33ffd09fc173be3807f574f6c27acb17b97e77d8..ac0979a94c3e96221de4a869d717b85505b78674 100644
(file)
--- a/
authorize.php
+++ b/
authorize.php
@@
-71,7
+71,7
@@
if (!count($errors)) {
}
else {
// Handle authorize request, forwarding code in GET parameters if the user has authorized your client.
}
else {
// Handle authorize request, forwarding code in GET parameters if the user has authorized your client.
- $is_authorized = (($_POST['authorized'] === 'yes') || ($request->query['scope'] == 'email'));
+ $is_authorized = ((
@
$_POST['authorized'] === 'yes') || ($request->query['scope'] == 'email'));
$server->handleAuthorizeRequest($request, $response, $is_authorized, $user['id']);
/* For testing only
if ($is_authorized) {
$server->handleAuthorizeRequest($request, $response, $is_authorized, $user['id']);
/* For testing only
if ($is_authorized) {