# coding: utf-8

# Copyright Luna Technology 2015
# Matthieu Riviere <mriviere@luna-technology.com>

#
# from django_auth_ldap.backend import populate_user
#
# def populate_user_from_ldap(user, **kwargs):
#     user.is_active = True
#     user.is_staff = True
#     user.is_superuser = True
#     return user
#
#
# populate_user.connect(populate_user_from_ldap)
