Merge pull request #724 from paulhenry46/userlogout-api-hook

feat: implement existing hooks onBeforeLogout and onAfterLogout + new plugin API method
This commit is contained in:
Linus Rath
2026-08-01 23:09:39 +02:00
committed by GitHub
6 changed files with 43 additions and 8 deletions
+1
View File
@@ -178,6 +178,7 @@ function buildPluginApi(manifest: PluginManifest) {
user: {
getAccounts: () => callApi('user.getAccounts', []),
getIdentities: () => callApi('user.getIdentities', []),
logout: () => callApi('user.logout', []),
},
http: {
post: (path: string, body: Record<string, unknown>) => callApi('http.post', [path, body]),