summaryrefslogtreecommitdiffstats
path: root/src/models/auth.rs
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-24 16:52:11 +0000
committerSanto Cariotti <santo@dcariotti.me>2022-09-24 16:52:11 +0000
commita17ec8ff642bbf0596030e773d9d6820d2d9fd88 (patch)
tree798762b910dc138eaa137c6d114ad6026ec8e327 /src/models/auth.rs
parente3e1fb936e807a96e80229bc86d1c4bb385e88da (diff)
User has name field
Diffstat (limited to 'src/models/auth.rs')
-rw-r--r--src/models/auth.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models/auth.rs b/src/models/auth.rs
index 651bf26..8a673dd 100644
--- a/src/models/auth.rs
+++ b/src/models/auth.rs
@@ -42,6 +42,7 @@ pub struct LoginCredentials {
/// Paylod used for user creation
#[derive(Deserialize)]
pub struct SignUpForm {
+ pub name: String,
pub email: String,
pub username: String,
pub password1: String,