pyshop
pyshop copied to clipboard
LDAP users cannot change password
Support for this is not implemented and I doubt it would be any useful anyway so it would be best to just hide this menu entry from LDAP users.
This is made a bit difficult though because there is currently no bit of information in the model that allows us to known whether the model maps an external authentication backend or refers to a purely database bound user.
Pyshop can use LDAP? I configure LDAP reported the following error, I do not know why ERROR [/root/pyshop/local/lib/python2.7/site-packages/pyshop/models.pyc][waitress] ERROR while using LDAP connection
@tom-piao You must install the pyshop[ldap] package the same way you installed the pyshop[waitress] package, or allow the virtualenv access to global packages with python-ldap installed.