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
- ENDPOINT ERROR 404
I need help please with the ENDPOINT indicated in the appwrite documentation, I can't access https://cloud.appwrite.io/v1 { “message”: “The requested path w...
- Can't Redeploy Function - Invalid `build...
Had this issue recently on a different function (https://discord.com/channels/564160730845151244/1303494484138528818/1303520893556883507), but didn't really dig...
- Null issue
I have a collection Comments that has a relation with another collection Users called likes, the problem is whenever I add new User (like) it response with this...