desarrolla2
Repos
81
Followers
60
Following
22

A simple cache library. Implements different adapters that you can use and change easily by a manager or similar.

130
37

some of my talks

7
0

Email you when Symfony2 Exceptions occurs with some information.

4
2

This bundle allows you to download a database and folders associated with the project from remote host to local machine. It is the easiest and easiest way to have the same production data in your development environment.

4
1

FastFeed is a php library to consume feeds. FastFeed is very easy to use, extensible and modular.

55
13

Events

opened issue
Avoid fail code validation by spaces

Description

I sent auth code by email.

When the user receives his auth code, he can copy/paste some spaces ahead or behind. Then when he tries to authenticate, validation fails.

I think this will be dodged by trimming the auth code as follow:

namespace Scheb\TwoFactorBundle\Security\TwoFactor;
// ..

class TwoFactorFirewallConfig
{
    // ..

    public function getAuthCodeFromRequest(Request $request): string
    {
        // return (string) ($this->requestDataReader->getRequestValue($request, $this->getAuthCodeParameterName()) ?? '');
        return trim($this->requestDataReader->getRequestValue($request, $this->getAuthCodeParameterName()) ?? '');
    }```
                                    
Created at 2 weeks ago

[] - order users by average

Created at 3 weeks ago

[] - order users by average

Created at 3 weeks ago
Created at 2 months ago