bradunov/shkola

Backend auth: implement user cookie

Closed this issue · 1 comments

Currently, after session cookie expires (user closes the browser), the user needs to login again.
We should add persistent cookie to keep user logged in for a longer period.
The value of the cookie must be randomly generated and corresponding value stored in the user table.

This is also not needed because we use external authentication. Google will handle user cookie and automatically login user.