<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [ActionCodeInfo](./auth.actioncodeinfo.md) &gt; [data](./auth.actioncodeinfo.data.md)

## ActionCodeInfo.data property

The data associated with the action code.

<b>Signature:</b>

```typescript
data: {
        email?: string | null;
        multiFactorInfo?: MultiFactorInfo | null;
        previousEmail?: string | null;
    };
```

## Remarks

For the [ActionCodeOperation.PASSWORD\_RESET](./auth.actioncodeoperation.password_reset.md)<!-- -->, [ActionCodeOperation.VERIFY\_EMAIL](./auth.actioncodeoperation.verify_email.md)<!-- -->, and [ActionCodeOperation.RECOVER\_EMAIL](./auth.actioncodeoperation.recover_email.md) actions, this object contains an email field with the address the email was sent to.

For the [ActionCodeOperation.RECOVER\_EMAIL](./auth.actioncodeoperation.recover_email.md) action, which allows a user to undo an email address change, this object also contains a `previousEmail` field with the user account's current email address. After the action completes, the user's email address will revert to the value in the `email` field from the value in `previousEmail` field.

For the [ActionCodeOperation.VERIFY\_AND\_CHANGE\_EMAIL](./auth.actioncodeoperation.verify_and_change_email.md) action, which allows a user to verify the email before updating it, this object contains a `previousEmail` field with the user account's email address before updating. After the action completes, the user's email address will be updated to the value in the `email` field from the value in `previousEmail` field.

For the [ActionCodeOperation.REVERT\_SECOND\_FACTOR\_ADDITION](./auth.actioncodeoperation.revert_second_factor_addition.md) action, which allows a user to unenroll a newly added second factor, this object contains a `multiFactorInfo` field with the information about the second factor. For phone second factor, the `multiFactorInfo` is a [MultiFactorInfo](./auth.multifactorinfo.md) object, which contains the phone number.

