projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
693b1ab
)
Server: fix refreshing token
author
Chocobozzz
<florian.bigard@gmail.com>
Sun, 20 Nov 2016 16:41:03 +0000
(17:41 +0100)
committer
Chocobozzz
<florian.bigard@gmail.com>
Mon, 21 Nov 2016 21:09:45 +0000
(22:09 +0100)
server/lib/oauth-model.js
patch
|
blob
|
history
diff --git
a/server/lib/oauth-model.js
b/server/lib/oauth-model.js
index 922ef0b1f0b588ad1e2277c1d6a143d15b170886..d011c4b7232fa63aea1ba498a2f0ff78e05ab742 100644
(file)
--- a/
server/lib/oauth-model.js
+++ b/
server/lib/oauth-model.js
@@
-32,7
+32,7
@@
function getClient (clientId, clientSecret) {
return OAuthClient.getByIdAndSecret(mongoId, clientSecret)
}
-function getRefreshToken (refreshToken
, callback
) {
+function getRefreshToken (refreshToken) {
logger.debug('Getting RefreshToken (refreshToken: ' + refreshToken + ').')
return OAuthToken.getByRefreshTokenAndPopulateClient(refreshToken)