Clear confusing annotation in rest create_user

email should be None if not provided, ref[1]

[1] https://github.com/openstack/horizon/commit/
311bbd7d16451e53775d316d0e45e1b47711c358

Closes-Bug: #1553148
Change-Id: I0530a78f3b354f06b2d9608f5da7ce31ea80085b
This commit is contained in:
Bo Wang 2016-03-03 18:35:48 +08:00 committed by wangbo
parent b50d0fc813
commit 16a471f6a7

View File

@ -80,7 +80,6 @@ class Users(generic.View):
This action returns the new user object on success.
"""
# not sure why email is forced to None, but other code does it
domain = api.keystone.get_default_domain(request)
new_user = api.keystone.user_create(
request,