Skip to content

[SG-778] Adjust mobile client to handle previously-responded-to passwordless request#2190

Merged
andrebispo5 merged 5 commits intomasterfrom
feature/SG-778-passwordless-approved
Nov 15, 2022
Merged

[SG-778] Adjust mobile client to handle previously-responded-to passwordless request#2190
andrebispo5 merged 5 commits intomasterfrom
feature/SG-778-passwordless-approved

Conversation

@andrebispo5
Copy link
Contributor

@andrebispo5 andrebispo5 commented Nov 14, 2022

Depends on #bitwarden/server#2412

Type of change

  • Bug fix
  • New feature development
  • Tech debt (refactoring, code cleanup, dependency upgrades, etc)
  • Build/deploy pipeline (DevOps)
  • Other

Objective

When responding to a previously answered passwordless device, show a message saying the request is not longer valid.

Screenshots

image

Before you submit

  • Please check for formatting errors (dotnet format --verify-no-changes) (required)
  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team

@andrebispo5 andrebispo5 requested a review from a team November 14, 2022 18:06
Comment on lines +182 to +184
public bool? Approved { get; set; }

public DateTime? ResponseDate { get; set; }
Copy link
Member

Choose a reason for hiding this comment

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

I don't see these properties being used anywhere; just being set. Can they be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes they can, initially i was passing them on constructor of the page, but them realised i had to call the method to get the login request on button click.

@andrebispo5 andrebispo5 requested a review from fedemkr November 15, 2022 10:16
@andrebispo5 andrebispo5 merged commit 0992a98 into master Nov 15, 2022
@andrebispo5 andrebispo5 deleted the feature/SG-778-passwordless-approved branch November 15, 2022 14:17
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.

2 participants