Hi all,
I use AppWrite cloud and I am migrating an old backend. In the old backend password length could be shorter than 8.
I have migrated these users via the Server SDK, with no problems. However the users with shorter passwords now can't log in. It throws an error that the password should have a minimum length of 8.
Is there a way to disable this rule?
Thanks in advance
You can set a temporary password that meets the 8-character minimum during migration and then ask users to reset their passwords upon first login. This way, they’ll set a new, secure password themselves.
Or If you want to keep the old passwords as close to the original as possible, consider padding them. For example, you could add characters like * or ! to the end of each password until it reaches 8 characters. This would allow users to log in with a modified version of their old password, but they would need to be informed of this change.
I recommend generating a random password and forcing users to generate a new one in order to get a better protection
Recommended threads
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- One-time Cloud migration blocked by data...
Hi, I’m blocked on a one-time migration from Appwrite Cloud to my self-hosted Appwrite instance. We already fixed the region issue, and the migration now corre...
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...