Influxdb 1.8.10 container can't create users

Hi all,
I’m trying to create an influxdb containe (vers 1.8.10) with admin and user as below:

docker run --name influxdb -t \
      -e INFLUXDB_DB="mydatabase" \
      -e INFLUXDB_USER="user" \
      -e INFLUXDB_USER_PASSWORD="user" \
      -e INFLUXDB_ADMIN_USER="admin" \
	  -e INFLUXDB_ADMIN_PASSWORD="admin" \
      --restart unless-stopped \
      -d influxdb:1.8.10 

I added the env variable as in documentation (docs/influxdb/README.md at master · docker-library/docs · GitHub) but it created only database not the admin and user:

$ docker exec -it influxdb /bin/bash
root@d3581f5c5beb:/# influx
Connected to http://localhost:8086 version 1.8.10
InfluxDB shell version: 1.8.10
> show databases;
name: databases
name
----
mydatabase
> show users;
user admin
---- -----

Could someone know how can fix it, please?
thanks for the support.
Marco

ok solved, I missed:

–env INFLUXDB_HTTP_AUTH_ENABLED="true"

now works fine:

# influx -username admin -password admin
Connected to http://localhost:8086 version 1.8.10
InfluxDB shell version: 1.8.10
> show databases;
name: databases
name
----
mydatabase
> show users;
user     admin
----     -----
admin true
user    false