mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Merge pull request #3670 from alphagov/show-broadcast-tour-when-password-reset
Take user to page they are meant to visit in various sign-in flow scenarios
This commit is contained in:
@@ -165,9 +165,11 @@ class UserApiClient(NotifyAdminAPIClient):
|
||||
endpoint = '/user/{}/service/{}/permission'.format(user_id, service_id)
|
||||
self.post(endpoint, data=data)
|
||||
|
||||
def send_reset_password_url(self, email_address):
|
||||
def send_reset_password_url(self, email_address, next_string=None):
|
||||
endpoint = '/user/reset-password'
|
||||
data = {'email': email_address}
|
||||
if next_string:
|
||||
data['next'] = next_string
|
||||
self.post(endpoint, data=data)
|
||||
|
||||
def find_users_by_full_or_partial_email(self, email_address):
|
||||
|
||||
Reference in New Issue
Block a user