How to reset your X password – X password recovery
Tap Done to save your changes. Note: If you can log in but can’t remember your password, you can send yourself a password reset email from the password settings page. Additionally, you’ll be logged out of all your active X sessions, except for the one you use to change your password. Source link