mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-07 03:29:30 +00:00
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:
parent
8e58ad3441
commit
600119276c
14 changed files with 241 additions and 307 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue