
I see I can create an md5 user which is great for migrating from legacy systems. But I wonder: will this password be rehashed after the first successful login to something more safe? Or should the client take care of this and if so, how?

The password will stay encrypted with MD5, as the database will contain the hash + the hashing method.

If you do want to change the password to be hashed with the default argon2 Then you can either:
- Change the user password in a function using the
updatePassword
method https://appwrite.io/docs/server/users?sdk=nodejs-default#usersUpdatePassword - Let the user reset is password by using the password recovery method (this is a 2-step process)

So in your use-case you can migrate from the legacy system, and let the user login using their old MD5 password. Then, after the first login you can prompt them to a "one-time" password re-enter.
Now you can send this password to the function and update the user password.
Recommended threads
- I have an error oauth with Microsoft
invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for...
- how many Teams can be created?
I am creating an app where I will let users create groups. This could mean there will be many groups created by user, to isolate those groups properly I am thin...
- React native app login via Safari
Hi! I deployed for debug my React Native app in web, chrome everythink works well but in safari on mac and ios I cant login. I found this one error in safari co...
