Commit be2cbf5b authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_subscription_request: Return the real object rather them the brain

parent 1aaab8ec
...@@ -54,5 +54,5 @@ def SubscriptionRequest_searchExistingUserByEmail(self, email, REQUEST=None): ...@@ -54,5 +54,5 @@ def SubscriptionRequest_searchExistingUserByEmail(self, email, REQUEST=None):
validation_state="validated") validation_state="validated")
if len(person_list): if len(person_list):
return person_list[0] return person_list[0].getObject()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment