Searched refs:primaryDevice (Results 1 – 1 of 1) sorted by relevance
144 const primaryDevice = secondFactorDevices.find((device) => device.is_primary); constant148 assert(primaryDevice, 'OTP should only automatically be sent when there is a primary device');150 `One-time password was sent to the phone number ending in ${primaryDevice.sms_phone_number}.`155 if (primaryDevice?.method === UserSecondFactorDeviceMethod.AUTHENTICATOR) {