-
- Downloads
Use `getClientAddress` instead of `getClientIP`. (#12599)
getClientIP was deprecated in Twisted 18.4.0, which also added getClientAddress. The Synapse minimum version for Twisted is currently 18.9.0, so all supported versions have the new API.
Showing
- changelog.d/12599.misc 1 addition, 0 deletionschangelog.d/12599.misc
- synapse/api/auth.py 2 additions, 2 deletionssynapse/api/auth.py
- synapse/handlers/auth.py 1 addition, 1 deletionsynapse/handlers/auth.py
- synapse/handlers/identity.py 1 addition, 1 deletionsynapse/handlers/identity.py
- synapse/handlers/sso.py 2 additions, 2 deletionssynapse/handlers/sso.py
- synapse/http/site.py 3 additions, 3 deletionssynapse/http/site.py
- synapse/logging/opentracing.py 1 addition, 1 deletionsynapse/logging/opentracing.py
- synapse/rest/client/auth.py 5 additions, 3 deletionssynapse/rest/client/auth.py
- synapse/rest/client/login.py 10 additions, 4 deletionssynapse/rest/client/login.py
- synapse/rest/client/register.py 3 additions, 3 deletionssynapse/rest/client/register.py
- tests/api/test_auth.py 9 additions, 9 deletionstests/api/test_auth.py
- tests/handlers/test_cas.py 1 addition, 1 deletiontests/handlers/test_cas.py
- tests/handlers/test_oidc.py 2 additions, 2 deletionstests/handlers/test_oidc.py
- tests/handlers/test_saml.py 1 addition, 1 deletiontests/handlers/test_saml.py
- tests/replication/_base.py 12 additions, 8 deletionstests/replication/_base.py
- tests/server.py 8 additions, 5 deletionstests/server.py
Loading
Please register or sign in to comment