Comments (7)
I've added better validation for names (alphabet and space), passwords (minimum length), and domains (regex).
from api.
Issue-Label Bot is automatically applying the label feature_request
to this issue, with a confidence of 0.96. Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
from api.
Do you mean this for the frontend? If yes, maybe it's a better idea to open this issue in the Staart UI repository, since this is primarily the backend and build tools.
from api.
We currently do validate using the internal validator
helpers. The rule (I think) is name should be a string of at least 3 characters, and password/domain should be strings. I didn't want to be too strict with the password rules, but it's something I will look into. Thanks again for opening these issues!
from api.
@AnandChowdhary Thx. for the detailed replies.
Yes, the validations should be applied at both the ends i.e. UI and backend. So probably, you may create a common/validators folder and share the code.
from api.
@all-contributors can you please add @coooolers for bugs and ideas?
from api.
I've put up a pull request to add @coooolers! 🎉
from api.
Related Issues (20)
- 2 Questions :: HOT 7
- what version of UI will work with api v3? HOT 1
- Stripe payment module finished? HOT 1
- API demo is down HOT 1
- How do we add scopes/roles to a user or is it done automatically? HOT 1
- Version 1.0.0 has errors upon running `npm run build` out of the box HOT 2
- how to setup v3 HOT 4
- Docker does not expose ports needed for frontend to connect with backend HOT 1
- Outdated endpoints? HOT 1
- Verification email returns error 404 HOT 1
- demo ? HOT 2
- Authorization Model: Where did Casbin go? HOT 4
- Error - geolocation.service.spec.ts HOT 3
- docker-compose example HOT 1
- Is V4 stable? HOT 1
- Swagger - Add bearer token to make it usable HOT 3
- Fix swagger /v bug in curl posts HOT 2
- Production ready? HOT 1
- Outdated documentation HOT 1
- OAuth Feature HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api.