Email update does not change Login
# support
a
I recently updated the Super Admin email from admin@example.com to fhirsesg@saude.go.gov.br, in order to change the login. However, the login does not accept the new email. Is there any way to modify the Super Admin login username and password? Yours sincerely; Adriano Freitas.
a
Thanks for the response @pravinu! But it wasn't enough. When I try to log in with the new email fhirsesgo@saude.go.gov.br and the password I registered for Medplum Admin, I cannot log in. To log in, I use the email admin@example.com and the new password I registered. It is as if the email change had no effect on modifying the login email.
p
you need to create password for new user and login using it
it will act as aother admin
a
@pravinu , Is there any way to completely delete a user?
p
I havent found I believe
a
Because I had already deleted the Administrator Administrator Profile, and only kept the FHIR Administrator. However, when logging in with the email, both appear, and I would like this screen not to appear, log in directly with the FHIR Administrator.
p
yeah
I think cache
can click and you will see error
a
Thanks! But, how i will clean a cache?
p
may be @rahul1 can help further, I am also new to medplum but faced same issue so thought to help
a
Thank you very much for your help @pravinu ! It helped a lot. I believe that if I recreate the Redis container it might work. What do you think @rahul1 ?
s
@Adriano Freitas did you find a solution here? I ran into the same issue Edit: I just created a separate account instead, as a workaround.
r
Hello @Adriano Freitas , sorry so much for the delay in responding
The confusion here stems from the difference between the "Profile Resource" and the
User
. See this guide: https://www.medplum.com/docs/auth/user-management-guide
When you changed the email, you only modified the "Profile" resource, but not the user
There is no direct way to modify the "User" resource, as it is the core of a user's digital identity
The best path is to invite a new user with new email (https://www.medplum.com/docs/auth/user-management-guide#user-administration-via-medplum-app) and then remove the admin@example.com user
a
Thank you very much @rahul1 ! You have helped me a lot with this project, which will be very important for Brazil and Medplum will certainly gain visibility. Taking advantage of the topic, if I need to open another topic please let me know Ok? I generated approximately 9 million PatientResource instances. When I list the Patient in the Medplum API, it takes a long time (approximately 1 minute). Researching further, I realized that the count() used to count the total records is searching the entire database. Is there anything that can be done to improve this performance?
r
Hi @Adriano Freitas , do you mind posting this as a new issue?
I would also love to know more about what your specific project is!
a
Thank you very much @rahul1 ! I already created the new topic. About the project, we are starting FHIR in a Brazilian State, called Goiás, and we chose Medplum as our FHIR API.