Adding required deps for creating proper users

This commit is contained in:
shockrah
2020-08-05 22:49:11 -07:00
parent a00dd2b442
commit 45120330db
4 changed files with 135 additions and 67 deletions

View File

@@ -4,6 +4,7 @@ use crate::db_types::{UBigInt, VarChar};
use crate::routes;
pub const BCRYPT_COST: u32 = 14;
pub enum AuthReason {
Good, //passed regular check
OpenAuth, // route does not require auth