--- title: Update Current User Auth hide_title: true --- # Update Current User Auth This component is used to to update the current logged in users email and password.
![](/library/prefabs/supabase/updateauth.png)
> Please note that [Supabase Client](/library/prefabs/supabase/components/setup-client/) needs to be set up in your app before you can properly use this component. ## Inputs | Signals | Description | | -------------------------------------- | -------------------------------- | | Do | Triggers the fetch request call. | | Data | Description | | ------------------------------------------ | ----------------------------------- | | Email | The email you want to update to. | | Password | The password you want to update to. | ## Outputs | Data | Description | | --------------------------------------- | -------------------------------------------------------------- | | Data | The response sent back after a successful request to Supabase. | | Error | The error sent back after a failed request to Supabase. | | Signals | Description | | ------------------------------------------- | -------------------------------------------------------------------------------- | | Success | Sends a signal when the request succeeded. | | Failure | Sends a signal when an error occurred, and logs an error message in the console. |