[sessions] when cleaning the session data, setup the ssl flag
This commit is contained in:
parent
8c65f982d0
commit
3a73f548e9
|
@ -101,6 +101,8 @@ class BasicSession(Session, CaptchaSession, StorableObject):
|
|||
else:
|
||||
setattr(self, field, None)
|
||||
self.id = None
|
||||
if get_request().environ.get('HTTPS'):
|
||||
self.ssl = True
|
||||
|
||||
service = property(get_service, set_service)
|
||||
|
||||
|
|
Reference in New Issue