grooveondemand/groove/auth.py
2022-11-19 16:06:23 -08:00

8 lines
236 B
Python

import logging
import os
def is_authenticated(username, password):
logging.debug(f"Authentication attempt for {username}, {password}")
return (username == os.environ.get('USERNAME') and password == os.environ.get('PASSWORD'))