mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-01-20 07:12:58 -05:00
this
This commit is contained in:
@@ -83,11 +83,6 @@ def provision_lti_user(platform, claims):
|
||||
if update_fields:
|
||||
user.save(update_fields=update_fields)
|
||||
|
||||
# Update mapping cache
|
||||
if email and mapping.email != email:
|
||||
mapping.email = email
|
||||
mapping.save(update_fields=['email'])
|
||||
|
||||
else:
|
||||
# Create new user
|
||||
username = generate_username_from_lti(lti_user_id, email, given_name, family_name)
|
||||
|
||||
Reference in New Issue
Block a user