<info>Fastfony/IdentityBundle is almost ready:</info>

1. The <comment>config/packages/security.yaml</comment> and <comment>config/packages/stof_doctrine_extensions.yaml</comment> files have been updated where the expected configuration lines were found; please verify these changes.

2. Merge the content of <comment>config/packages/mailer.yaml.dist</comment> into your <comment>config/packages/mailer.yaml</comment> file and set your <comment>MAILER_DSN</comment> environment variable if it is not already done.

3. Create the database schema:

    Option 1 - Generate and run migrations to create the database tables:

    <fg=green>php bin/console doctrine:migrations:diff
    php bin/console doctrine:migrations:migrate</>

    Option 2 - Or without migrations, you can create the schema directly:

    <fg=green>php bin/console doctrine:schema:update --force</>

4. Use the bundle:

    Option 1 - Create an user with command:

    <fg=green>php bin/console fastfony:user:create</>

    Option 2 - Create an user on browser (if registration is enabled):

    Go to the <comment>/register</comment> route. Please be sure that your MAILER_DSN is correctly configure and sending messages async is disabled (or your messages consumer command is running) for receive the login link e-mail.

<info>By default, routes behind /secure-area require the user logged in.</info>
