gjp -> encryption, xor, level db boilerplate
This commit is contained in:
parent
847d8ea35c
commit
1b40b16fd8
12 changed files with 160 additions and 17 deletions
|
@ -60,7 +60,7 @@ pub fn register_account(input: Form<FormRegisterAccount>) -> status::Custom<&'st
|
|||
|
||||
let new_account = NewAccount {
|
||||
username: input.userName.clone(),
|
||||
gjp2: helpers::gjp::get_gjp2_hashed(input.password.clone()),
|
||||
gjp2: helpers::encryption::get_gjp2_hashed(input.password.clone()),
|
||||
email: input.email.clone()
|
||||
};
|
||||
inserted_account = diesel::insert_into(accounts)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue