Giter Club home page Giter Club logo

Comments (8)

splendido avatar splendido commented on August 24, 2024

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.

splendido avatar splendido commented on August 24, 2024

fixed with 0510114

from core.

nunohvidal avatar nunohvidal commented on August 24, 2024

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.

splendido avatar splendido commented on August 24, 2024

...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.

nunohvidal avatar nunohvidal commented on August 24, 2024

I was getting this issue today with version 0.0.28 (the most recent?)

from core.

splendido avatar splendido commented on August 24, 2024

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.

nunohvidal avatar nunohvidal commented on August 24, 2024

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.

splendido avatar splendido commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.