Create delete_user.sh
This commit is contained in:
parent
4041ac5669
commit
97123e25ec
1 changed files with 9 additions and 0 deletions
9
check_users/delete_user.sh
Normal file
9
check_users/delete_user.sh
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then
|
||||||
|
echo "Error: Email address not provided"
|
||||||
|
echo "Usage: $0 <email_address>"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
docker exec overleafserver /bin/bash -ce "cd /overleaf/services/web && node modules/server-ce-scripts/scripts/delete-user --email=$1"
|
Loading…
Reference in a new issue