amschaal / bioshare

MIT License
6 stars 2 forks source link

SFTP login causes browser logout #54

Open amschaal opened 5 years ago

amschaal commented 5 years ago

Strange, but true. Maybe started happening after django upgrade. Need to check if login code used for sftp is somehow forcing logout of other sessions.

amschaal commented 5 years ago

The session in the django_session table remains present after connecting to SFTP, with nothing changed for the entry. However, once the user attempts to use the browser session again, the session entry is deleted from the table.

Experimented using the django.contrib.auth.authenticate method from the shell in place of SFTP, but this does not create the same issue.