mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Turn on redirects for new_password
This is part of the work to make sure user is redirected to the page they initially were meant to visit after they sign in.
This commit is contained in:
@@ -3646,9 +3646,9 @@ def mock_create_event(mocker):
|
||||
return mocker.patch('app.events_api_client.create_event', side_effect=_add_event)
|
||||
|
||||
|
||||
def url_for_endpoint_with_token(endpoint, token):
|
||||
def url_for_endpoint_with_token(endpoint, token, next=None):
|
||||
token = token.replace('%2E', '.')
|
||||
return url_for(endpoint, token=token)
|
||||
return url_for(endpoint, token=token, next=next)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
||||
Reference in New Issue
Block a user