mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-18 01:19:49 +02:00
Enhance OTP type detection
This commit is contained in:
@@ -142,8 +142,7 @@ class TwoFAccountController extends Controller
|
||||
throw $e;
|
||||
}
|
||||
|
||||
|
||||
if( $twofaccount->type === 'hotp' ) {
|
||||
if( $twofaccount->otpType === 'hotp' ) {
|
||||
|
||||
// HOTP can be desynchronized from the verification
|
||||
// server so we let the user the possibility to force
|
||||
|
Reference in New Issue
Block a user