Browse Source

Setting gnusocial passwords

Bob Mottram 8 years ago
parent
commit
56f1a09955
2 changed files with 4 additions and 4 deletions
  1. 2
    2
      src/freedombone-app-gnusocial
  2. 2
    2
      src/freedombone-app-postactiv

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

193
 
193
 
194
     read_config_param ${GNUSOCIAL_DOMAIN_NAME}
194
     read_config_param ${GNUSOCIAL_DOMAIN_NAME}
195
 
195
 
196
-    cd /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs
197
-    ./scripts/setpassword "$curr_username" "$new_user_password"
196
+    cd /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/scripts
197
+    php setpassword.php "$curr_username" "$new_user_password"
198
 
198
 
199
     ${PROJECT_NAME}-pass -u "$curr_username" -a gnusocial -p "$new_user_password"
199
     ${PROJECT_NAME}-pass -u "$curr_username" -a gnusocial -p "$new_user_password"
200
 }
200
 }

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

150
 
150
 
151
     read_config_param ${POSTACTIV_DOMAIN_NAME}
151
     read_config_param ${POSTACTIV_DOMAIN_NAME}
152
 
152
 
153
-    cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs
154
-    ./scripts/setpassword "$curr_username" "$new_user_password"
153
+    cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/scripts
154
+    php setpassword.php "$curr_username" "$new_user_password"
155
 
155
 
156
     ${PROJECT_NAME}-pass -u "$curr_username" -a postactiv -p "$new_user_password"
156
     ${PROJECT_NAME}-pass -u "$curr_username" -a postactiv -p "$new_user_password"
157
 }
157
 }