Sign up/in/out and authentication.
This commit is contained in:
parent
5e4e086247
commit
aedfae1d17
5 changed files with 318 additions and 27 deletions
11
backend/src/user.rs
Normal file
11
backend/src/user.rs
Normal 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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue