Remove login popup in symfony [duplicate]

  php, symfony, symfony4, yaml

My security.yaml has following code:

security:
encoders:
AppEntityUser:
algorithm: auto

# https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
providers:
    # used to reload user from session & other features (e.g. switch_user)
    app_user_provider:
        entity:
            class: AppEntityUser
            property: email
firewalls:
    dev:
        pattern: ^/(_(profiler|wdt)|css|images|js)/
        security: false
    api:
        anonymous: lazy
        logout: ~
        pattern: ^/api
        guard:
            authenticators:
                - AppSecurityTokenAuthenticator
        stateless: true
    main:
        anonymous: lazy
        provider: app_user_provider
        http_basic:
            realm: Secured Area

        # activate different ways to authenticate
        # https://symfony.com/doc/current/security.html#firewalls-authentication

        # https://symfony.com/doc/current/security/impersonating_user.html
        # switch_user: true

# Easy way to control access for large sections of your site
# Note: Only the *first* access control that matches will be used
access_control:
    # - { path: ^/admin, roles: ROLE_ADMIN }
     - { path: ^/, roles: ROLE_USER }

I am running it via xampp and it gives me a popup to log in, how can I remove this authentication, I have commented out all access controls but the popup still loads, how can i remove this?

Source: Symfony4 Questions

LEAVE A COMMENT