mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-05-30 23:06:29 +02:00
Remove unreachable instructions
This commit is contained in:
parent
d3bda8942b
commit
ed3b718293
@ -347,7 +347,6 @@ class TwoFAccount extends Model implements Sortable
|
|||||||
$OtpDto->counter = $this->counter = $counter + 1;
|
$OtpDto->counter = $this->counter = $counter + 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
else throw new UnsupportedOtpTypeException();
|
|
||||||
|
|
||||||
Log::info(sprintf('New OTP generated for TwoFAccount #%s', $this->id));
|
Log::info(sprintf('New OTP generated for TwoFAccount #%s', $this->id));
|
||||||
|
|
||||||
@ -507,7 +506,6 @@ class TwoFAccount extends Model implements Sortable
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
throw new UnsupportedOtpTypeException();
|
throw new UnsupportedOtpTypeException();
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->service) $this->generator->setIssuer($this->service);
|
if ($this->service) $this->generator->setIssuer($this->service);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user