Setting gnusocial passwords
This commit is contained in:
parent
0825cdd1ed
commit
56f1a09955
|
@ -193,8 +193,8 @@ function change_password_gnusocial {
|
|||
|
||||
read_config_param ${GNUSOCIAL_DOMAIN_NAME}
|
||||
|
||||
cd /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs
|
||||
./scripts/setpassword "$curr_username" "$new_user_password"
|
||||
cd /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/scripts
|
||||
php setpassword.php "$curr_username" "$new_user_password"
|
||||
|
||||
${PROJECT_NAME}-pass -u "$curr_username" -a gnusocial -p "$new_user_password"
|
||||
}
|
||||
|
|
|
@ -150,8 +150,8 @@ function change_password_postactiv {
|
|||
|
||||
read_config_param ${POSTACTIV_DOMAIN_NAME}
|
||||
|
||||
cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs
|
||||
./scripts/setpassword "$curr_username" "$new_user_password"
|
||||
cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/scripts
|
||||
php setpassword.php "$curr_username" "$new_user_password"
|
||||
|
||||
${PROJECT_NAME}-pass -u "$curr_username" -a postactiv -p "$new_user_password"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue