You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using dimclient DIM currently always sets the permanent_session for the Flask session.
This is due to dimclient always adding that parameter to its login requests, and DIM only checking for presence of the parameter, not its value.
Only certain values should evaluate to True, e.g. true and 1.
When using
dimclient
DIM currently always sets thepermanent_session
for the Flask session.This is due to dimclient always adding that parameter to its login requests, and DIM only checking for presence of the parameter, not its value.
Only certain values should evaluate to
True
, e.g.true
and1
.https://github.com/1and1/dim/blob/72db8bba0569a7d775029a99ea4498d13193c2ec/dimclient/dimclient/__init__.py#L46-L51
https://github.com/1and1/dim/blob/72db8bba0569a7d775029a99ea4498d13193c2ec/dim/dim/jsonrpc.py#L59
The text was updated successfully, but these errors were encountered: