add passwords too!! not just gjp2
This commit is contained in:
parent
ccafbfe860
commit
e237cd9b8d
6 changed files with 17 additions and 14 deletions
|
@ -7,6 +7,7 @@ pub struct Account {
|
|||
pub id: i32,
|
||||
|
||||
pub username: String,
|
||||
pub password: String,
|
||||
pub gjp2: String,
|
||||
pub email: String,
|
||||
|
||||
|
@ -29,7 +30,8 @@ pub struct Account {
|
|||
pub struct NewAccount {
|
||||
pub username: String,
|
||||
pub gjp2: String,
|
||||
pub email: String
|
||||
pub password: String,
|
||||
pub email: String,
|
||||
}
|
||||
|
||||
#[derive(Queryable, Serialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue