Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #781 from cds-snc/allow-up-to-10-characters
Browse files Browse the repository at this point in the history
One-time-code allow over 8-10 characters
  • Loading branch information
timarney authored Jul 18, 2020
2 parents 9b3d55b + 6279afc commit 87bf1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/datasharing/views/FormView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const FormView = ({value, onChange, onSuccess, onError}: FormViewProps) =
<Button
loading={loading}
// @todo update this for 10 digit code
disabled={value.length !== 8}
disabled={value.length <= 7}
variant="thinFlat"
text={i18n.translate('DataUpload.FormView.Action')}
onPress={handleVerify}
Expand Down

0 comments on commit 87bf1ef

Please sign in to comment.