mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Add plugin hook on registration
This commit is contained in:
parent
4586328858
commit
4ce7eb71ba
6 changed files with 60 additions and 10 deletions
|
@ -29,7 +29,10 @@ export const serverFilterHookObject = {
|
|||
|
||||
// Filter result used to check if we need to auto blacklist a video
|
||||
// (fired when a local or remote video is created or updated)
|
||||
'filter:video.auto-blacklist.result': true
|
||||
'filter:video.auto-blacklist.result': true,
|
||||
|
||||
// Filter result used to check if a user can register on the instance
|
||||
'filter:api.user.signup.allowed.result': true
|
||||
}
|
||||
|
||||
export type ServerFilterHookName = keyof typeof serverFilterHookObject
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue