diff options
author | Marian Sigler <m@qjym.de> | 2012-09-27 03:26:17 +0200 |
---|---|---|
committer | Marian Sigler <m@qjym.de> | 2012-09-27 03:26:22 +0200 |
commit | 69f7c2e49fd9247111bee70b7afd56c104b1c984 (patch) | |
tree | f329030e478552c10c9fc9202f7c4cbb449cf559 /utils.py | |
parent | dfdd6899668bb153bfe992566ec1d11de29f2ad7 (diff) | |
download | web-69f7c2e49fd9247111bee70b7afd56c104b1c984.tar.gz web-69f7c2e49fd9247111bee70b7afd56c104b1c984.tar.bz2 web-69f7c2e49fd9247111bee70b7afd56c104b1c984.zip |
Add about page; Comment out service settings
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -62,6 +62,8 @@ def login_user(username, password): g.user = g.ldap.auth(username, password) except ldap.INVALID_CREDENTIALS: return False + except ldap.NO_SUCH_OBJECT: + return False session['username'] = username session['password'] = encrypt_password(password) |