1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Add external login tests

This commit is contained in:
Chocobozzz 2020-04-29 09:04:42 +02:00 committed by Chocobozzz
parent 4a8d113b9b
commit 9107d791e2
19 changed files with 582 additions and 27 deletions

View file

@ -139,7 +139,7 @@ async function revokeToken (tokenInfo: { refreshToken: string }) {
if (token) {
if (res.locals.explicitLogout === true && token.User.pluginAuth && token.authName) {
PluginManager.Instance.onLogout(token.User.pluginAuth, token.authName)
PluginManager.Instance.onLogout(token.User.pluginAuth, token.authName, token.User)
}
clearCacheByToken(token.accessToken)