Преглед на файлове

Setting gnusocial passwords

Bob Mottram преди 8 години
родител
ревизия
56f1a09955
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 2
    2
      src/freedombone-app-gnusocial
  2. 2
    2
      src/freedombone-app-postactiv

+ 2
- 2
src/freedombone-app-gnusocial Целия файл

@@ -193,8 +193,8 @@ function change_password_gnusocial {
193 193
 
194 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 199
     ${PROJECT_NAME}-pass -u "$curr_username" -a gnusocial -p "$new_user_password"
200 200
 }

+ 2
- 2
src/freedombone-app-postactiv Целия файл

@@ -150,8 +150,8 @@ function change_password_postactiv {
150 150
 
151 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 156
     ${PROJECT_NAME}-pass -u "$curr_username" -a postactiv -p "$new_user_password"
157 157
 }