You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(sms): Set up flow to add recovery phone from Settings
Because:
* We want users to be able to add a recovery phone
This commit:
* Enables the "add" page if the feature flag is on and availability from GQL is true
* Returns 'availability' with other recovery phone info in the GQL resolver
* Displays recovery phone info in recovery phone row,
* Hides 'change' and 'delete' buttons if user doesn't have a recovery phone set up, displays SIM swap link only if user doesn't have a recovery phone
closes FXA-10370
Copy file name to clipboardExpand all lines: packages/fxa-graphql-api/src/gql/model/recoveryPhone.ts
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,15 @@ export class RecoveryPhone {
13
13
14
14
@Field({
15
15
nullable: true,
16
-
description: 'The registered recovery phone number',
16
+
description:
17
+
'The registered recovery phone number. If the user does not have a verified session, this field will return the last 4 digits of the phone number with a mask on the rest.',
17
18
})
18
19
publicphoneNumber!: string;
20
+
21
+
@Field({
22
+
nullable: true,
23
+
description:
24
+
'Returns true if the user is eligible to set up a recovery phone.',
0 commit comments