Core Update 1.4.0
This commit is contained in:
13
core/Objects/KeyBasedTwoFactorToken.class.php
Normal file
13
core/Objects/KeyBasedTwoFactorToken.class.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace Objects;
|
||||
|
||||
class KeyBasedTwoFactorToken extends TwoFactorToken {
|
||||
|
||||
const TYPE = "fido2";
|
||||
|
||||
public function __construct(string $secret, ?int $id = null, bool $confirmed = false) {
|
||||
parent::__construct(self::TYPE, $secret, $id, $confirmed);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user