aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-03 17:04:47 +0100
committerChocobozzz <me@florianbigard.com>2021-12-03 17:04:47 +0100
commit0bc53e20296de68288481e2375b297626087174b (patch)
treea5d45a622932ee3539369dfeb9a84889176fd6f5 /config
parentd1a233d8d86ead1e3aa2350d5480eab3336b17d6 (diff)
downloadPeerTube-0bc53e20296de68288481e2375b297626087174b.tar.gz
PeerTube-0bc53e20296de68288481e2375b297626087174b.tar.zst
PeerTube-0bc53e20296de68288481e2375b297626087174b.zip
Add ability to redirect users on external auth
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml6
-rw-r--r--config/production.yaml.example6
2 files changed, 12 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index b9c725cea..074951117 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -82,6 +82,12 @@ client:
82 # By default PeerTube client displays author username 82 # By default PeerTube client displays author username
83 prefer_author_display_name: false 83 prefer_author_display_name: false
84 84
85 menu:
86 login:
87 # If you enable only one external auth plugin
88 # You can automatically redirect your users on this external platform when they click on the login button
89 redirect_on_single_external_auth: false
90
85# From the project root directory 91# From the project root directory
86storage: 92storage:
87 tmp: 'storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing... 93 tmp: 'storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing...
diff --git a/config/production.yaml.example b/config/production.yaml.example
index d67349c1d..e38b79587 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -80,6 +80,12 @@ client:
80 # By default PeerTube client displays author username 80 # By default PeerTube client displays author username
81 prefer_author_display_name: false 81 prefer_author_display_name: false
82 82
83 menu:
84 login:
85 # If you enable only one external auth plugin
86 # You can automatically redirect your users on this external platform when they click on the login button
87 redirect_on_single_external_auth: false
88
83# From the project root directory 89# From the project root directory
84storage: 90storage:
85 tmp: '/var/www/peertube/storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing... 91 tmp: '/var/www/peertube/storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing...