Sign up/in/out and authentication.

This commit is contained in:
Greg Burri 2022-11-22 17:03:52 +01:00
parent 5e4e086247
commit aedfae1d17
5 changed files with 318 additions and 27 deletions

11
backend/src/user.rs Normal file
View file

@ -0,0 +1,11 @@
use chrono::prelude::*;
pub struct User {
}
pub struct UserLoginInfo {
pub last_login_datetime: DateTime<Utc>,
pub ip: String,
pub user_agent: String,
}