]> git.ipfire.org Git - ipfire.org.git/commit - src/backend/base.py
accounts: Export the jpegPhoto LDAP attribute
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 17 Mar 2015 13:09:30 +0000 (14:09 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 17 Mar 2015 13:09:30 +0000 (14:09 +0100)
commit2cd9af7462465fefbafae74374fb9e0063fa0fa0
treef7ea49a5968ff37855f35cd3c3c6175fe89f633f
parent86ddb638fb63e189885123ae0112d946142fba6c
accounts: Export the jpegPhoto LDAP attribute

This adds the functionality to link to the avatar of a certain
user. The image is taken from the LDAP database and resized as
requested. If no image was found, the client will be redirected
to gravatar.
webapp/__init__.py
webapp/backend/accounts.py
webapp/backend/base.py
webapp/handlers.py
webapp/handlers_accounts.py [new file with mode: 0644]