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:
parent
4a8d113b9b
commit
9107d791e2
19 changed files with 582 additions and 27 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue