Explorar el Código

Setting gnusocial passwords

Bob Mottram hace 8 años
padre
commit
56f1a09955
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 2
    2
      src/freedombone-app-gnusocial
  2. 2
    2
      src/freedombone-app-postactiv

+ 2
- 2
src/freedombone-app-gnusocial Ver fichero

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

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