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:
@@ -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]),
|
||||
|
||||
Reference in New Issue
Block a user