New default setting for email_communications
This commit is contained in:
@@ -111,7 +111,10 @@ def validate_token():
|
|||||||
'auth': [{
|
'auth': [{
|
||||||
'provider': 'blender-id',
|
'provider': 'blender-id',
|
||||||
'user_id': str(validation['data']['user']['id']),
|
'user_id': str(validation['data']['user']['id']),
|
||||||
'token': ''}]
|
'token': ''}],
|
||||||
|
'settings': {
|
||||||
|
'email_communications': 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
r = post_internal('users', user_data)
|
r = post_internal('users', user_data)
|
||||||
user_id = r[0]['_id']
|
user_id = r[0]['_id']
|
||||||
|
Reference in New Issue
Block a user