Update password enpoint : no validation happens.
![Anna Sho](https://us.v-cdn.net/6037124/uploads/userpics/9J2BDR93V3FA/nAMOURF2V6E1B.jpeg)
I recreated Update password endpoint from scratch, and I remember I used to have validation for password string. Now I don't have it, but in table for password field there are some requirements.
This is my new password update endopint. I have success when saving empty password.
And this is DB:
Answers
-
Hi @Anna Sho,
I tried creating a user for the default user table, giving it as input for a password just "123", and I was allowed to do so.
Maybe it is bugged and by running it on Run & Debug it is mistakenly considered as an admin action so it is pushed through?
Try to get in contact with a Xano employee using the Chat inside the app, I am sure they are going to take care of this. -
Hi @Anna Sho!
I'm trying to replicate the issue. However, the endpoint I created seemed to validate the updated password correctly. Check out this video that walks through the steps that I took. Let me know if this is helpful, and please reach out if you're still experiencing the issues on your end.
-
@Lefteris - Buynocodeapps Thanks for chiming in! The reason you were able to update the password in the user table to just "123" is that filters are only enforced via the API.
-
@Liz Anaya thanks ! I ve checked video, everything is developed exactly the same.
However today I have checked again and it works, validation works! I think that might be some glitch or cache occurs yesterday in Xano.
-
@Anna Sho Happy to hear that it works! 🎉 If this happens again, please reach out to us!
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback