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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Appwrite Storage error 503s for automate...
I'm facing error 503s from Appwrite after about 5-6 seconds of making AI requests from my tool with images and files above 20MB (=> not inline base64 used, but ...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...