Reupload
This commit is contained in:
commit
61cbd57af1
168 changed files with 31208 additions and 0 deletions
15
server/create-user.sh
Normal file
15
server/create-user.sh
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
. ./conf.env
|
||||
|
||||
BASE_URL=$1
|
||||
EMAIL=$2
|
||||
PASSWORD=`openssl rand -base64 16 | sed -e "s/=//g"`
|
||||
|
||||
echo $API_ADMIN_AUTHORIZATION
|
||||
echo $1
|
||||
echo $PASSWORD
|
||||
|
||||
curl -X POST $BASE_URL/signup \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d "{\"email\": \"$EMAIL\", \"password\": \"$PASSWORD\", \"adminToken\": \"$API_ADMIN_AUTHORIZATION\"}"
|
Loading…
Add table
Add a link
Reference in a new issue