public function mfaTokenDelete($iTokenId)
    {
        $oDb = Factory::service('Database');
        $oDb->where('id', $iTokenId);
        $oDb->delete(NAILS_DB_PREFIX . 'user_auth_two_factor_token');
        return (bool) $oDb->affected_rows();
    }
public function mfaTokenDelete($iTokenId)
    {
        $oDb = Factory::service('Database');
        $oDb->where('id', $iTokenId);
        $oDb->delete(NAILS_DB_PREFIX . 'user_auth_two_factor_token');
        return (bool) $oDb->affected_rows();
    }
public function mfaTokenDelete ( $ iTokenId ) { $ oDb = Factory :: service ( 'Database' ) ; $ oDb -> where ( 'id' , $ iTokenId ) ; $ oDb -> delete ( NAILS_DB_PREFIX . 'user_auth_two_factor_token' ) ; return ( bool ) $ oDb -> affected_rows ( ) ; }
Delete an MFA token

@param  int $iTokenId The token's ID

@return boolean
Delete an MFA token