forked from coop-cloud/element-web
only use sso redirection if sso is enabled
This commit is contained in:
@ -7,3 +7,5 @@ LETS_ENCRYPT_ENV=production
|
||||
HOMESERVER=matrix-synapse.example.com
|
||||
SERVER_NAME=mymatrix
|
||||
BRAND=mymatrix
|
||||
|
||||
USE_SSO=false
|
||||
@ -8,6 +8,7 @@ services:
|
||||
- DOMAIN
|
||||
- HOMESERVER
|
||||
- SERVER_NAME
|
||||
- USE_SSO=${USE_SSO:-false}
|
||||
networks:
|
||||
- proxy
|
||||
configs:
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
}
|
||||
},
|
||||
"sso_redirect_options": {
|
||||
"immediate": true
|
||||
"immediate": {{ env "USE_SSO" }}
|
||||
},
|
||||
"disable_custom_urls": false,
|
||||
"disable_guests": true,
|
||||
|
||||
Reference in New Issue
Block a user