Removing etherpad users
This commit is contained in:
parent
5b6702c26c
commit
a2c375fc92
|
@ -195,7 +195,7 @@ function remove_user_etherpad {
|
|||
${PROJECT_NAME}-pass -u $remove_username --rmapp etherpad
|
||||
|
||||
if grep -q "\"$remove_username\": {" /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json; then
|
||||
sed -i "/\"$remove_username\": {/,/},/d" /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json
|
||||
sed -i "/\"$remove_username\": {/d" /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json
|
||||
systemctl restart etherpad
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue