Comments (8)
Hi @riaan53.
This is another think I did'n think of. Basically because anyone can temporarily go to the sign-up page to see validation messages, but with accounts creation disabled it makes sense!
I think this can be easily done, let me see!
Thank you again
from core.
fixed with 0510114
from core.
What I did to overcome the same issue that @riaan53 mentioned was to defined the password validation function as such
func: function(value){
if(AccountsTemplates.state === 'signUp') {
return /(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,}/.test(value);
}
return true;
As you can see the function will return true for any form except 'signUp' where it will perform the regex password validation
from core.
...but is this still an issue?
I'm quite confident it's not doing validation when on the sign in form. Isn't it?
from core.
I was getting this issue today with version 0.0.28 (the most recent?)
from core.
Was it below the input field or in the global error?
...I guess it was on the global error panel. Which should be fixed now (see 07bb9de) and #78
Let me know!
from core.
it was under the input field when using with accounts-templates-bootstrap, haven't tried just with the core...
maybe the issue is accounts-templates-bootstrap related?
from core.
All the logic is into accounts-templates-core, so if there is a problem (at least in this case) it should be there.
This is weird because it's not happening to me, could you please provide a reproduction for it?
...or simply send over the configuration file for accounts-templates?
Tnx!
from core.
Related Issues (20)
- How to change "Forgot you password text? HOT 2
- Input Field of type date.
- Option to remove softwarerero:accounts-t9n HOT 1
- softwarerero:accounts-t9 to 2.0+ HOT 2
- Rest password link is not working HOT 1
- AccountsTemplates.configure({showReCaptcha: true}) Show reCaptha only on Sign Up Form not on Sign In Form
- Can't get {{> atForm state='signIn' }} to render in template.
- meteor-accounts-t9n is now only an NPM package. Remove dependency on old version. HOT 3
- How to make 2 different registration forms
- Dynamic email redirection url depending on client subdomain HOT 1
- Submitting login form produces intermittent silent crash HOT 6
- React version of this package
- Change password form shows error "Match failed" HOT 2
- softwarerero:accounts-t9 it too large! HOT 1
- Is it possible to add new states?
- Radio fields do not call 'func' for validation
- AccountsTemplate logout in meteor-tabular page not work
- Since this seems to be dead - alternatives? HOT 1
- Ho to remove the error "Must be logged in" when using ensure sign in
- Upgrade request so we can upgrade to Meteor 2.3.1 HOT 8
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 core.