fix: Remove warnings
This commit is contained in:
@@ -25,6 +25,7 @@ lazy_static! {
|
||||
/// Controller for handling authentication-related routes
|
||||
pub struct AuthController;
|
||||
|
||||
#[allow(dead_code)]
|
||||
impl AuthController {
|
||||
/// Generate a JWT token for a user
|
||||
fn generate_token(email: &str, role: &UserRole) -> Result<String, jsonwebtoken::errors::Error> {
|
||||
|
||||
Reference in New Issue
Block a user