GithubHelp home page GithubHelp logo

2fa-text's People

Contributors

erkens avatar kevinirlen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

2fa-text's Issues

Regarding document (Not urgent, but might help)

It might be worth noting inside the documentation, that the User entity has to implement the Erkens\Security\TwoFactorTextBundle\Model\TwoFactorTextInterface interface maybe?

Without this, things doesn't work as expected.

Any thoughts @erkens ?

Regarding documentation

Hi,

Thanks for this bundle.

I have a question regarding the documentation.. It says

First thing to do is make a new service that implements Erkens\Security\TwoFactorTextBundle\Generator\CodeGeneratorInterface so we can actually send a sms or text message. This service can then be used in the configuration as "auth_code_sender":

Is this correct? The bundle already have a CodeGenerator implementation.

Maybe the documentation should read as follows

First thing to do is make a new service that implements Erkens\Security\TwoFactorTextBundle\TextSender\AuthCodeTextInterface so we can actually send a sms or text message. This service can then be used in the configuration as "auth_code_sender":

Thoughts?

Cheers.

config/packages/scheb_2fa.yaml add new configuration error

Hi. I installed this package but, send error message " Unrecognized option "two_factor_text" under "scheb_two_factor". Available options are "email", "ip_whitelist", "ip_whitelist_provider", "model_manager_name", "persister", "security_tokens", "totp", "two_factor_c
ondition", "two_factor_token_factory". " after "bin/console c:c"

Fix extension deprecation

In your DependencyInjection/TwoFactorTextExtension.php file, line 11 is triggering a deprecation in symfony 7.1:

The "Symfony\Component\HttpKernel\DependencyInjection\Extension" class is considered internal since Symfony 7.1, to be deprecated in 8.1; use Symfony\Component\DependencyInjection\Extension\Extension instead. It may change without further notice. You should not use it from "Erkens\Security\TwoFactorTextBundle\DependencyInjection\TwoFactorTextExtension".

This can be fixed by changing from
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
to
use Symfony\Component\DependencyInjection\Extension\Extension;

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.