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
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...