GithubHelp home page GithubHelp logo

Comments (8)

mdoutreluingne avatar mdoutreluingne commented on August 15, 2024

Did you do composer require symfonycasts/verify-email-bundle ?

from maker-bundle.

Kstein-yandex-ru avatar Kstein-yandex-ru commented on August 15, 2024

Did you do composer require symfonycasts/verify-email-bundle ?

Yes, I did. Otherwise, I think, I would not have this file: Security/EmailVerifier.php

from maker-bundle.

jrushlow avatar jrushlow commented on August 15, 2024

Is the code working in PHP? I don't use vscode as my IDE, but this smells like a cache issue (for the ide).

try bin/console cache:clear - If there is an autowiring or autoconfigure issue - an exception should be thrown by Symfony when you clear the app cache.

from maker-bundle.

Kstein-yandex-ru avatar Kstein-yandex-ru commented on August 15, 2024

Is the code working in PHP? I don't use vscode as my IDE, but this smells like a cache issue (for the ide).

try bin/console cache:clear - If there is an autowiring or autoconfigure issue - an exception should be thrown by Symfony when you clear the app cache.

Thank you for advice.

I recieve confirmation email, but after folowwing the link, I see the mistake:
The link to verify your email is invalid. Please request a new link.

Cleared cache successfully without any warnings.

from maker-bundle.

mdoutreluingne avatar mdoutreluingne commented on August 15, 2024

I've just tested with a new Symfony 6.4 and php 8.2 project, and I have no problem. I cannot reproduce this bug.

My version of symfonycasts/verify-email-bundle is v1.17.0

from maker-bundle.

Kstein-yandex-ru avatar Kstein-yandex-ru commented on August 15, 2024

If someone have time to look at the code:
https://github.com/Kstein-yandex-ru/fund-agragator/tree/master

from maker-bundle.

mdoutreluingne avatar mdoutreluingne commented on August 15, 2024

I've just tested your project by simulating a dev environment, i.e. with a local SMTP server, and I've had no problems.

My email is valid and set is_verified to true for the user.

You may have a problem with your SMTP server

from maker-bundle.

Kstein-yandex-ru avatar Kstein-yandex-ru commented on August 15, 2024

I've just tested your project by simulating a dev environment, i.e. with a local SMTP server, and I've had no problems.

My email is valid and set is_verified to true for the user.

You may have a problem with your SMTP server

Thank you. So i hope, after deploying it will work. I use Openserver. May be that is the reason.
But I recieve emails, so SMTP seems to be set up correctly. Or can the link be broken by mail service (Yandex)?

from maker-bundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.