mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-19 11:26:48 +02:00
Fix token algorithm not being updated
This commit is contained in:
parent
d329b82a30
commit
0f34736e4e
@ -346,7 +346,7 @@ class TwoFAccountService
|
||||
if ($dto->counter) $this->token->setParameter('counter', $dto->counter);
|
||||
}
|
||||
|
||||
if ($dto->algorithm) $this->token->setParameter('digest', $dto->algorithm);
|
||||
if ($dto->algorithm) $this->token->setParameter('algorithm', $dto->algorithm);
|
||||
if ($dto->digits) $this->token->setParameter('digits', $dto->digits);
|
||||
// if ($dto->epoch) $this->token->setParameter('epoch', $dto->epoch);
|
||||
if ($dto->service) $this->token->setIssuer($dto->service);
|
||||
|
Loading…
x
Reference in New Issue
Block a user