diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-06 14:01:30 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-05-06 14:03:23 +0200 |
commit | f375bb3db401e42b4317545a7e40dcfda692604d (patch) | |
tree | d2b978a63934f4cc0134674b00d678e8518e7e4f /shared/models | |
parent | 86ab22921b3ea2660715d1db47fec7037b309d12 (diff) | |
download | PeerTube-f375bb3db401e42b4317545a7e40dcfda692604d.tar.gz PeerTube-f375bb3db401e42b4317545a7e40dcfda692604d.tar.zst PeerTube-f375bb3db401e42b4317545a7e40dcfda692604d.zip |
Add ability to override login signup message
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/plugins/client-hook.model.ts | 3 | ||||
-rw-r--r-- | shared/models/plugins/plugin-client-scope.type.ts | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/shared/models/plugins/client-hook.model.ts b/shared/models/plugins/client-hook.model.ts index 62f6070d7..b53b8de99 100644 --- a/shared/models/plugins/client-hook.model.ts +++ b/shared/models/plugins/client-hook.model.ts | |||
@@ -70,6 +70,9 @@ export const clientActionHookObject = { | |||
70 | // Fired when a user click on 'View x replies' and they're loaded | 70 | // Fired when a user click on 'View x replies' and they're loaded |
71 | 'action:video-watch.video-thread-replies.loaded': true, | 71 | 'action:video-watch.video-thread-replies.loaded': true, |
72 | 72 | ||
73 | // Fired when the login page is being initialized | ||
74 | 'action:login.init': true, | ||
75 | |||
73 | // Fired when the search page is being initialized | 76 | // Fired when the search page is being initialized |
74 | 'action:search.init': true, | 77 | 'action:search.init': true, |
75 | 78 | ||
diff --git a/shared/models/plugins/plugin-client-scope.type.ts b/shared/models/plugins/plugin-client-scope.type.ts index 1c6d884f0..d112434e8 100644 --- a/shared/models/plugins/plugin-client-scope.type.ts +++ b/shared/models/plugins/plugin-client-scope.type.ts | |||
@@ -1 +1 @@ | |||
export type PluginClientScope = 'common' | 'video-watch' | 'search' | 'signup' | export type PluginClientScope = 'common' | 'video-watch' | 'search' | 'signup' | 'login' | ||