Remove util

This commit is contained in:
2025-01-23 16:31:22 +02:00
parent 96df8adf19
commit 97ac6a8c1d
@@ -6,13 +6,6 @@ from joserfc.jwt import OctKey # type: ignore
crypt = settings.CRYPT crypt = settings.CRYPT
def crypt_password(password) -> str:
"""
Creates a hash from the "Password" given, that can then be checked against the DB.
"""
return crypt.hash(password, settings.HASHING_SCHEME)
def create_token(user_id: uuid, offset: float) -> str: def create_token(user_id: uuid, offset: float) -> str:
""" """
Creates a JWT token Creates a JWT token