mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-26 10:15:40 +01:00
Remove unreachable instructions
This commit is contained in:
parent
d3bda8942b
commit
ed3b718293
@ -347,7 +347,6 @@ public function getOTP() : TotpDto|HotpDto
|
||||
$OtpDto->counter = $this->counter = $counter + 1;
|
||||
|
||||
}
|
||||
else throw new UnsupportedOtpTypeException();
|
||||
|
||||
Log::info(sprintf('New OTP generated for TwoFAccount #%s', $this->id));
|
||||
|
||||
@ -507,7 +506,6 @@ private function initGenerator()
|
||||
|
||||
default:
|
||||
throw new UnsupportedOtpTypeException();
|
||||
break;
|
||||
}
|
||||
|
||||
if ($this->service) $this->generator->setIssuer($this->service);
|
||||
|
Loading…
Reference in New Issue
Block a user