Browse Source

Back to v1

Bob Mottram 8 years ago
parent
commit
4cb50a5b66
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/freedombone-app-matrix

+ 2
- 2
src/freedombone-app-matrix View File

@@ -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