Qabel / qabel-desktop

(B2C) :computer: Desktop frontend of Qabel
Other
11 stars 12 forks source link

Desktop clients send a lot of login requests #474

Closed enkore closed 8 years ago

enkore commented 8 years ago

Up to multiple times per minute per client. q-android doesn't exhibit this behaviour.

thechauffeur commented 8 years ago

IIRC this is a long standing behavior and we should definitely address it this time after the release.

thechauffeur commented 8 years ago

Does this issue mean using the auth token instead of acc+pw?

enkore commented 8 years ago

Since the token doesn't expire it should just be stored and used for further requests. Currently it seems that the client logs in again with the user password (/api/v0/auth/login/) for every request sent to the block server.

q-android apparently does this correctly.

enkore commented 8 years ago

Does this issue mean using the auth token instead of acc+pw?

See #540