mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 00:33:58 -04:00
only show mobile number on register from invite page if user is sms_auth
also clean up the way the form is invoked - it now populates from an invited_user object
This commit is contained in:
@@ -354,7 +354,7 @@ def test_new_invited_user_verifies_and_added_to_service(
|
||||
'password': 'longpassword',
|
||||
'mobile_number': '+447890123456',
|
||||
'name': 'Invited User',
|
||||
# 'auth_type': 'sms_auth'
|
||||
'auth_type': 'sms_auth'
|
||||
}
|
||||
response = client.post(url_for('main.register_from_invite'), data=data)
|
||||
assert response.status_code == 302
|
||||
|
||||
Reference in New Issue
Block a user