Changeset - 01128a59174d
[Not reviewed]
Merge default
0 1 0
Dennis Fink - 9 years ago 2015-10-20 00:24:17
dennis.fink@c3l.lu
Merge hotfix-update-api
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
ennstatus/api/auth.py
Show inline comments
 
@@ -5,9 +5,9 @@ httpauth = HTTPDigestAuth()
 

	
 

	
 
@httpauth.get_password
 
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
0 comments (0 inline, 0 general)