Dashboard Base Auth not working

Hi. I'm using docker compose an treafik. I want to protect my treafik dashboard with htpp.
I config traefik with traefik.toml

defaultEntryPoints = ["http"]
logLevel = "INFO"

    endPoint = "unix:///var/run/docker.sock"
    exposedByDefaulut = false

    insecure = true
    dashboard = true

        users = [

Here is my docker-compose file

    image: traefik:latest
    container_name: traefik
      - "80:80"
      - "443:443"
      - "8080:8080"
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - type: bind
        source: ./traefik.toml
        target: /etc/traefik/traefik.toml
        read_only: true

So i open a web browser an enter the following URL : http://localhost:8080/dashboard

I expected so see a login page - but nothing happend. I get access to the dashboard without authetification.
You anbybody tell me where is the error in the configuration

You need to assign the middleware. See simple Traefik example.