friday-ai / friday

Friday is your open-source home automation assistant.
MIT License
1 stars 1 forks source link

Get existing session on user login instead of creating new every time #64

Closed MathieuAndrade closed 2 years ago

MathieuAndrade commented 2 years ago

Actually, when user login to app, backend create a new session every time. And it not revoke old session. But if old session is always valid, return it instead of creating new.

And do not forget tests 😅