Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Fix #3334: Handle invalid VPN credentials, add 406 status code to it. #3346

Merged
merged 1 commit into from
Feb 24, 2021

Conversation

iccub
Copy link
Contributor

@iccub iccub commented Feb 24, 2021

Change requested by the Guardian team.

Summary of Changes

This pull request fixes #3334

Submitter Checklist:

  • Unit Tests are updated to cover new or changed functionality
  • User-facing strings use NSLocalizableString()

Test Plan:

This is hard to reproduce and test properly.
Please do a simple sanity check only, see if vpn can still be purchased and if 'reset vpn configuration' works

Screenshots:

Reviewer Checklist:

  • Issues include necessary QA labels:
    • QA/(Yes|No)
    • release-notes/(include|exclude)
    • bug / enhancement
  • Necessary security reviews have taken place.
  • Adequate unit test coverage exists to prevent regressions.
  • Adequate test plan exists for QA to validate (if applicable).
  • Issue is assigned to a milestone (should happen at merge time).

@iccub iccub added this to the 1.23.1 milestone Feb 24, 2021
@iccub iccub requested a review from a team February 24, 2021 09:42

} else if (statusCode == 410 || statusCode == 406) {
NSLog(@"Subscriber credential invalid: %@", subscriberCredential);
[GRDKeychain removeKeychanItemForAccount:kKeychainStr_SubscriberCredential];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you fix the indentation here ?

@iccub iccub merged commit 7e5af3b into development Feb 24, 2021
@iccub iccub deleted the bugfix/3334 branch February 24, 2021 16:00
iccub added a commit that referenced this pull request Feb 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle invalid VPN credentials, add 406 status code to it
4 participants