add passwords too!! not just gjp2

This commit is contained in:
Reid 2023-09-03 16:12:41 -07:00
parent ccafbfe860
commit e237cd9b8d
Signed by: reidlab
GPG key ID: 6C9EAA3364F962C8
6 changed files with 17 additions and 14 deletions

View file

@ -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)]