diff --git a/server/src/jwt.rs b/server/src/jwt.rs index d603c4d..f171efe 100755 --- a/server/src/jwt.rs +++ b/server/src/jwt.rs @@ -24,8 +24,8 @@ pub fn token_factory(user: &str) -> JwtResult { &Header::default(), &Claims { sub: user.to_string(), - iss: "localhost".to_string(), - aud: "localhost".to_string(), + iss: "frostbyte".to_string(), + aud: "frostbyte".to_string(), iat: chrono::Utc::now().timestamp() as usize, exp: (chrono::Utc::now() + chrono::Duration::days(DAYS_VALID)).timestamp() as usize, }, diff --git a/server/src/main.rs b/server/src/main.rs index c7ca643..3ed8abd 100755 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -1,4 +1,3 @@ -// #![allow(unused_imports, dead_code, unused_variables, unused_mut)] use actix_files::Files; use actix_web::middleware; use actix_web::web::Data;