mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
Send confirmation emails to users when team manager edits their
email address or mobile number.
This commit is contained in:
@@ -55,10 +55,16 @@ from app.models import (
|
||||
)
|
||||
|
||||
|
||||
def create_user(mobile_number="+447700900986", email="notify@digital.cabinet-office.gov.uk", state='active', id_=None):
|
||||
def create_user(
|
||||
mobile_number="+447700900986",
|
||||
email="notify@digital.cabinet-office.gov.uk",
|
||||
state='active',
|
||||
id_=None,
|
||||
name="Test User"
|
||||
):
|
||||
data = {
|
||||
'id': id_ or uuid.uuid4(),
|
||||
'name': 'Test User',
|
||||
'name': name,
|
||||
'email_address': email,
|
||||
'password': 'password',
|
||||
'mobile_number': mobile_number,
|
||||
|
||||
Reference in New Issue
Block a user