tinyerp / erppeek

A versatile tool for Odoo / OpenERP. *** Forked as Odooly ⟶
https://github.com/tinyerp/odooly
Other
171 stars 99 forks source link

login cookies #91

Open hengkyz opened 7 years ago

hengkyz commented 7 years ago

i want to ask, when we call client.login() do this lib save the credential as cookies? client.login(), can someone explain the mechanism and how safe is it?

florentx commented 5 years ago

It saves the credentials in memory, in Client._login.cache on the local machine where it is run. The cache is lost when the python process is destroyed.