django-json-rpc icon indicating copy to clipboard operation
django-json-rpc copied to clipboard

Injected user credentials should be cleaned up regardless of the result of authenticate()

Open muhuk opened this issue 14 years ago • 2 comments

Methods using authenticated=True receives username and password when the user is authenticated and the client somehow sends the session cookie.

Injected params should be cleaned since this is not a unusual case if we are using the same user accounts we are using to access sites for RPC requests.

muhuk avatar Dec 20 '10 09:12 muhuk

+1

This is a problem I just stumbled across, too.

p3k avatar Jan 06 '13 21:01 p3k

Cool, maybe one could write a pull request? The code path is really simple (sorry, I just don't have much time right now)

samuraisam avatar Jan 08 '13 00:01 samuraisam