Fixed api user in baserow.sh
This commit is contained in:
parent
3d081ed5f6
commit
fda5b6ba4c
@ -64,8 +64,8 @@ cat > /federated/apps/baserow/data/createuser.sh <<EOF
|
||||
#!/bin/bash
|
||||
|
||||
curl -X POST -H 'Content-Type: application/json' -i http://localhost/api/user/ --data '{
|
||||
"name": "admin11",
|
||||
"email": "admin11@$DOMAIN",
|
||||
"name": "admin",
|
||||
"email": "admin@$DOMAIN",
|
||||
"password": "$ADMINPASS"
|
||||
}' &> /dev/null
|
||||
EOF
|
||||
|
@ -33,12 +33,6 @@ create_password() {
|
||||
SECRET=`tr -cd '[:alnum:]' < /dev/urandom | fold -w32 | head -n1`
|
||||
echo "$SECRET";
|
||||
}
|
||||
start_blah() {
|
||||
SERVICE="$1"
|
||||
COMMAND="$2"
|
||||
$COMMAND &> /dev/null
|
||||
[ $? -eq 0 ] && echo -ne "done.\n" || fail "There was a problem starting service /federated/apps/$SERVICE"
|
||||
}
|
||||
start_service() {
|
||||
SERVICE="$1"
|
||||
COMMAND="$2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user