diff --git a/ennstatus/api/auth.py b/ennstatus/api/auth.py --- a/ennstatus/api/auth.py +++ b/ennstatus/api/auth.py @@ -8,6 +8,6 @@ httpauth = HTTPDigestAuth() def get_pw(username): if username in current_app.config['ENNSTATUS_SERVERS']: - return current_app.confg['ENNSTATUS_SERVERS'][username]['PASSWORD'] + return current_app.config['ENNSTATUS_SERVERS'][username]['PASSWORD'] return None