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
Verify and update the current user's email address. Wraps the underlying `auth.verifyBeforeUpdateEmail` method and provides additional `updating` and `error` information.
643
+
644
+
The `useVerifyBeforeUpdateEmail` hook takes the following parameters:
645
+
646
+
-`auth`: `Auth` instance for the app you would like to monitor
647
+
648
+
Returns:
649
+
650
+
-`verifyBeforeUpdateEmail(email: string, actionCodeSettings: ActionCodeSettings | null)`: a function you can call to verify and update the current user's email address
651
+
-`updating`: A `boolean` to indicate whether the user update is processing
652
+
-`error`: Any `Error` returned by Firebase when trying to update the user, or `undefined` if there is no error
0 commit comments