diff --git a/app/auth.py b/app/auth.py index 1212451..b9722c6 100644 --- a/app/auth.py +++ b/app/auth.py @@ -165,6 +165,14 @@ def verify_token(token: str) -> Optional[str]: return None +# Alias for backward compatibility +get_user_from_token = verify_token + + +def get_current_user(credentials: HTTPAuthorizationCredentials) -> dict: + return None + + def get_current_user(credentials: HTTPAuthorizationCredentials) -> dict: """Get current user from JWT token""" token = credentials.credentials