aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/models/user.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/user.rs b/src/models/user.rs
index 7f6fe88..0345e92 100644
--- a/src/models/user.rs
+++ b/src/models/user.rs
@@ -47,7 +47,7 @@ impl User {
}
}
-#[derive(Default, FromForm, Insertable)]
+#[derive(Default, Insertable)]
#[table_name="users"]
pub struct NewUser {
pub username: String,