Skip to content

Commit

Permalink
set secure flag from client if specified
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Mar 6, 2024
1 parent 150803b commit ac3e9af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/omero/gateway/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1539,6 +1539,8 @@ def __init__(self, username=None, passwd=None, client_obj=None, group=None,
elif pc != self.port:
raise Exception("ports %s and %s do not match" % (pc, self.port))
self.secure = secure
if self.c is not None:
sc = self.c.isSecure()
self.useragent = useragent
self.userip = userip

Expand Down

0 comments on commit ac3e9af

Please sign in to comment.