src/Http/Controllers/Adminarea/AccountTwoFactorController.php
protected function generateTotpBackups(): array
    {
        $backup = [];

        for ($x = 0; $x <= 9; $x++) {
            $backup[] = str_pad((string) random_int(0, 9999999999), 10, '0', STR_PAD_BOTH);
        }

        return $backup;
    }
protected function generateTotpBackups(): array
    {
        $backup = [];

        for ($x = 0; $x <= 9; $x++) {
            $backup[] = str_pad((string) random_int(0, 9999999999), 10, '0', STR_PAD_BOTH);
        }

        return $backup;
    }
protected function generateTotpBackups ( ) : array { $ backup = [ ] ; for ( $ x = 0 ; $ x <= 9 ; $ x ++ ) { $ backup [ ] = str_pad ( ( string ) random_int ( 0 , 9999999999 ) , 10 , '0' , STR_PAD_BOTH ) ; } return $ backup ; }
Generate TwoFactor OTP backup codes.

@return array
Generate TwoFactor OTP backup codes .