소스 검색

Allow configure default country code in element welcome page.

pull/2511/head
Igor Goldenberg 3 년 전
부모
커밋
620247673e
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      roles/custom/matrix-client-element/defaults/main.yml
  2. +1
    -0
      roles/custom/matrix-client-element/templates/config.json.j2

+ 3
- 0
roles/custom/matrix-client-element/defaults/main.yml 파일 보기

@@ -191,6 +191,9 @@ matrix_client_element_self_check_validate_certificates: true
# don't show the registration button on welcome page
matrix_client_element_registration_enabled: false

# Default country code on welcome page when login by phone number
matrix_client_element_default_country_code: "GB"

# Controls whether presence will be enabled
matrix_client_element_enable_presence_by_hs_url: ~



+ 1
- 0
roles/custom/matrix-client-element/templates/config.json.j2 파일 보기

@@ -12,6 +12,7 @@
"custom_themes": {{ matrix_client_element_settingDefaults_custom_themes|to_json }}
},
"default_theme": {{ matrix_client_element_default_theme | string|to_json }},
"default_country_code": {{ matrix_client_element_default_country_code | string|to_json }},
"permalinkPrefix": {{ matrix_client_element_permalinkPrefix | string|to_json }},
"disable_custom_urls": {{ matrix_client_element_disable_custom_urls|to_json }},
"disable_guests": {{ matrix_client_element_disable_guests|to_json }},


불러오는 중...
취소
저장