<commit_before># To get started with security, check out the documentation:
# http://symfony.com/doc/current/book/security.html
security:

    # http://symfony.com/doc/current/book/security.html#where-do-users-come-from-user-providers
    providers:
        in_memory:
            memory: ~

    firewalls:
        # disables authentication for assets and the profiler, adapt it according to your needs
        dev:
            pattern: ^/(_(profiler|wdt)|css|images|js)/
            security: false

        main:
            anonymous: ~
            # activate different ways to authenticate

            # http_basic: ~
            # http://symfony.com/doc/current/book/security.html#a-configuring-how-your-users-will-authenticate

            # form_login: ~
            # http://symfony.com/doc/current/cookbook/security/form_login_setup.html<commit_msg>[FOS/UserBundle] skonfigurowany security.yml<commit_after># To get started with security, check out the documentation:
# http://symfony.com/doc/current/book/security.html
security:


    encoders:
        FOS\RentBundle\ClientInterface: bcrypt

    role_hierarchy:
        ROLE_ADMIN:      ROLE_USER
        ROLE_SUPER_USER: ROLE_ADMIN

    # http://symfony.com/doc/current/book/security.html#where-do-users-come-from-user-providers
    providers:
        fos_clientbundle:
            id: fos_client.client_provider.username

    firewalls:
        # disables authentication for assets and the profiler, adapt it according to your needs
        main:
            dev:
                pattern: ^/(_(profiler|wdt)|css|images|js)/
                security: false
            pattern: ^/
            form_login:
                provider: fos_clientbundle
                csrf_token_generator: security.csrf_token_manager
            logout:       true
            anonymous:    true

    access_control:
        - {path: ^/logins$, role: IS_AUTHENTICATED_ANONYMOUSLY}
        - {path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY}
        - {path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY}
        - {path: ^/admin/, role: ROLE_ADMIN}
#        main:
#            anonymous: ~
            # activate different ways to authenticate

            # http_basic: ~
            # http://symfony.com/doc/current/book/security.html#a-configuring-how-your-users-will-authenticate

            # form_login: ~
            # http://symfony.com/doc/current/cookbook/security/form_login_setup.html
{'fraction_non_alphanumeric': 0.10008169934640523, 'fraction_numerical': 0.0, 'mean_word_length': 2.1888020833333335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2062803', 'n_tokens_mistral': 741, 'n_tokens_neox': 723, 'n_words': 130}