git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
note preview
[grauphel.git]
/
controller
/
oauthcontroller.php
diff --git
a/controller/oauthcontroller.php
b/controller/oauthcontroller.php
index bc66de4b6c390781f026707ee03998e25d15c789..dfb02c57a7a7661bfe5e46db89956954f8441195 100644
(file)
--- a/
controller/oauthcontroller.php
+++ b/
controller/oauthcontroller.php
@@
-132,10
+132,11
@@
class OauthController extends Controller
$res->setParams(
array(
'oauth_token' => $token->tokenKey,
$res->setParams(
array(
'oauth_token' => $token->tokenKey,
- 'client' => $clientTitle,
+ 'clientTitle' => $clientTitle,
+ 'clientAgent' => $clientAgent,
'formaction' => $this->deps->urlGen->linkToRoute(
'grauphel.oauth.confirm'
'formaction' => $this->deps->urlGen->linkToRoute(
'grauphel.oauth.confirm'
- )
. '?client=' . urlencode($clientAgent)
,
+ ),
)
);
return $res;
)
);
return $res;
@@
-178,8
+179,8
@@
class OauthController extends Controller
}
$clientAgent = '';
}
$clientAgent = '';
- if (isset($_
GE
T['client'])) {
- $clientAgent = $_
GE
T['client'];
+ if (isset($_
POS
T['client'])) {
+ $clientAgent = $_
POS
T['client'];
}
//the user is logged in and authorized
}
//the user is logged in and authorized