forked from github/plane
fix: oauth key error
This commit is contained in:
parent
7f4e1ba3b4
commit
c33fc0e0ec
@ -223,8 +223,8 @@ class OauthEndpoint(BaseAPIView):
|
|||||||
username=username,
|
username=username,
|
||||||
email=email,
|
email=email,
|
||||||
mobile_number=mobile_number,
|
mobile_number=mobile_number,
|
||||||
first_name=data["first_name"],
|
first_name=data.get("first_name", ""),
|
||||||
last_name=data["last_name"],
|
last_name=data.get("last_name", ""),
|
||||||
is_email_verified=email_verified,
|
is_email_verified=email_verified,
|
||||||
is_password_autoset=True,
|
is_password_autoset=True,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user