瀏覽代碼

Back to v1

Bob Mottram 8 年之前
父節點
當前提交
4cb50a5b66
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      src/freedombone-app-matrix

+ 2
- 2
src/freedombone-app-matrix 查看文件

@@ -323,7 +323,7 @@ function upgrade_matrix {
323 323
     cd /etc/sydent
324 324
     pip install --upgrade --process-dependency-links .
325 325
 
326
-    sed -i 's/ssl.PROTOCOL_SSLv23/ssl.PROTOCOL_TLSv1_2/g' /usr/local/bin/register_new_matrix_user
326
+    sed -i 's/ssl.PROTOCOL_SSLv23/ssl.PROTOCOL_TLSv1/g' /usr/local/bin/register_new_matrix_user
327 327
 
328 328
     chown -R matrix:matrix /etc/matrix
329 329
     chown -R matrix:matrix /etc/sydent
@@ -616,7 +616,7 @@ function install_home_server {
616 616
     chown -R matrix:matrix /etc/matrix
617 617
     chown -R matrix:matrix $MATRIX_DATA_DIR
618 618
 
619
-    sed -i 's/ssl.PROTOCOL_SSLv23/ssl.PROTOCOL_TLSv1_2/g' /usr/local/bin/register_new_matrix_user
619
+    sed -i 's/ssl.PROTOCOL_SSLv23/ssl.PROTOCOL_TLSv1/g' /usr/local/bin/register_new_matrix_user
620 620
 
621 621
     echo '[Unit]' > /etc/systemd/system/matrix.service
622 622
     echo 'Description=Synapse Matrix homeserver' >> /etc/systemd/system/matrix.service