Skip to content

Commit 71341ff

Browse files
Ensure that host response check is only performed when using o5logon.
1 parent 87908fe commit 71341ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/oracledb/impl/thin/messages/auth.pyx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,8 @@ cdef class AuthMessage(Message):
222222
self.session_data[key] = value
223223
if self.function_code == TNS_FUNC_AUTH_PHASE_ONE:
224224
self.function_code = TNS_FUNC_AUTH_PHASE_TWO
225-
elif not self.change_password:
225+
elif not self.change_password \
226+
and self.conn_impl._combo_key is not None:
226227
response = None
227228
value = self.session_data.get("AUTH_SVR_RESPONSE")
228229
if value is not None:

0 commit comments

Comments
 (0)