projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Begin support for external auths
[oweals/peertube.git]
/
server
/
lib
/
oauth-model.ts
diff --git
a/server/lib/oauth-model.ts
b/server/lib/oauth-model.ts
index 6eb0e447320189343b97b753baa29df9784f906b..8b9975bb4c331834f50c59346bfe568553144862 100644
(file)
--- a/
server/lib/oauth-model.ts
+++ b/
server/lib/oauth-model.ts
@@
-98,7
+98,7
@@
async function getRefreshToken (refreshToken: string) {
return tokenInfo
}
-async function getUser (usernameOrEmail
: string, password
: string) {
+async function getUser (usernameOrEmail
?: string, password?
: string) {
const res: express.Response = this.request.res
// Special treatment coming from a plugin