
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
- phantom relationships appear on parent c...
i have this bug were my past deleted collection apears as relationship to my parent collection. when i try to delete that relationship from parent it gives me e...
- Attribute stuck on proccessing
i tried creating a new attribute butits stuck on proccessing,i did a hard refresh,cleared cache everything but still stuck on proccessing,also in my functions w...
- Appwrite Cloud Custom Domains Issue
I’m trying to configure my custom domain appwrite.qnarweb.com (CNAME pointing to fra.cloud.appwrite.io with Cloudflare proxy disabled) but encountering a TLS ce...
