Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(internal): remove unnecessary login hop #299

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

JoshuaLicense
Copy link
Contributor

@JoshuaLicense JoshuaLicense commented Sep 2, 2024

Description

On successful login, the user was being redirected back to the login page due to a bug. This was not noticeable as the login page would then redirect back to the dashboard. This fixes that unnecessary hop.

This is a bug as the hop wouldn't be triggered but we were trying to find provider in the API response, this is keyed as Provider instead.

https://github.com/dvsa/vol-app/pull/299/files#diff-dc696a5ccd77b1427575a83f6c3ab13433dde405bb961223735f87a82b400ac7L232

@JoshuaLicense JoshuaLicense self-assigned this Sep 2, 2024
@JoshuaLicense JoshuaLicense requested review from ilindsay, fibble and a team as code owners September 2, 2024 12:07
@ilindsay ilindsay merged commit 6b844f1 into main Sep 2, 2024
21 checks passed
@ilindsay ilindsay deleted the optimise-internal-login-hops branch September 2, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants