Skip to content

Commit

Permalink
feat: Return error when User cannot authenticate #3209
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Dec 20, 2024
1 parent 62e417e commit 58bac82
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,12 @@ class _CredentialManifestOfferPickViewState
);

if (!authenticated) {
unawaited(
context.read<ScanCubit>().sendErrorToServer(
uri: widget.uri,
data: {'error': 'access_denied'},
),
);
return;
}
}
Expand Down

0 comments on commit 58bac82

Please sign in to comment.