Browse Source

Try adding a user

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

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

@@ -379,10 +379,10 @@ function install_matrix {
379 379
     rm -f ${MATRIX_DATA_DIR}/.procmailrc
380 380
     rm -f ${MATRIX_DATA_DIR}/.emacs-mutt
381 381
 
382
-    #if [[ $(add_user_matrix "${MY_USERNAME}" "${MATRIX_PASSWORD}") != "0" ]]; then
383
-    #    echo $'Failed to add matrix admin user';
384
-    #    exit 879352
385
-    #fi
382
+    if [[ $(add_user_matrix "${MY_USERNAME}" "${MATRIX_PASSWORD}") != "0" ]]; then
383
+        echo $'Failed to add matrix admin user';
384
+        exit 879352
385
+    fi
386 386
 
387 387
     APP_INSTALLED=1
388 388
 }