Redirect user to authentication

This commit is contained in:
2025-01-21 21:26:01 +01:00
parent 1c99bbadc1
commit fffa561d43
11 changed files with 642 additions and 61 deletions

9
src/user.rs Normal file
View File

@ -0,0 +1,9 @@
#[derive(Clone, serde::Serialize, serde::Deserialize)]
pub struct UserID(String);
#[derive(serde::Serialize, serde::Deserialize)]
pub struct User {
pub id: UserID,
pub name: String,
pub email: String,
}