Skip to content

Commit 463a45c

Browse files
David MaloneyDavid Maloney
authored andcommitted
if we don't support the auth return original res
make sure we return the original 401 if we don't support the auth.
1 parent 877fb01 commit 463a45c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rex/proto/http/client.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ def send_auth(res, opts, t, persist)
431431
end
432432
return res
433433
end
434+
return res
434435
end
435436

436437
def basic_auth_header(username,password)

0 commit comments

Comments
 (0)