Use the newer scheb/2fa bundle instead of scheb/two_factor_bundle

Currently the U2F auth is broken, as there is no plugin supporting it in the new system
This commit is contained in:
Jan Böhmer 2022-08-13 23:33:05 +02:00
parent 8e58ad3441
commit 600119276c
14 changed files with 241 additions and 307 deletions

View file

@ -56,7 +56,7 @@ use u2flib_server\Registration;
* })
* @ORM\HasLifecycleCallbacks()
*/
class U2FKey implements TwoFactorKeyInterface
class U2FKey /*implements TwoFactorKeyInterface*/
{
use TimestampTrait;
@ -112,13 +112,13 @@ class U2FKey implements TwoFactorKeyInterface
**/
protected $user;
public function fromRegistrationData(Registration $data): void
/*public function fromRegistrationData(Registration $data): void
{
$this->keyHandle = $data->keyHandle;
$this->publicKey = $data->publicKey;
$this->certificate = $data->certificate;
$this->counter = $data->counter;
}
}*/
public function getKeyHandle()
{