lizardsystem / lizard-auth-server

Django backend for the old SSO server
http://lizard-auth-server.readthedocs.io/
MIT License
2 stars 1 forks source link

Fix 'UserProfile matching query does not exist.' #6

Closed byrman closed 10 years ago

byrman commented 10 years ago

A user profile is not automatically created, so users without one may exist. The get_users(self, portal) function, which is used by other portals via lizard-auth-server's API, currently fails because of this.

byrman commented 10 years ago

I'm afraid we'll need to examine this issue more thoroughly, because the get_profile method will be removed eventually:

https://docs.djangoproject.com/en/1.6/releases/1.5-alpha-1/#features-deprecated-in-1-5 https://docs.djangoproject.com/en/1.6/internals/deprecation/#id2