aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/oauth-model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/oauth-model.ts')
-rw-r--r--server/lib/oauth-model.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/oauth-model.ts b/server/lib/oauth-model.ts
index 8b9975bb4..8d8a6d85e 100644
--- a/server/lib/oauth-model.ts
+++ b/server/lib/oauth-model.ts
@@ -139,7 +139,7 @@ async function revokeToken (tokenInfo: { refreshToken: string }) {
139 139
140 if (token) { 140 if (token) {
141 if (res.locals.explicitLogout === true && token.User.pluginAuth && token.authName) { 141 if (res.locals.explicitLogout === true && token.User.pluginAuth && token.authName) {
142 PluginManager.Instance.onLogout(token.User.pluginAuth, token.authName) 142 PluginManager.Instance.onLogout(token.User.pluginAuth, token.authName, token.User)
143 } 143 }
144 144
145 clearCacheByToken(token.accessToken) 145 clearCacheByToken(token.accessToken)