cr4yfish / nouv

Free AI & Community powered Learning Experience
https://nouv.app
GNU Affero General Public License v3.0
39 stars 0 forks source link

password length limit issue #6

Closed swedneck closed 2 weeks ago

swedneck commented 2 weeks ago

Hi again! Just tried remaking my account and now it says my password is too long despite being at most 72 characters, trying 24 characters worked fine though, and i was now able to make an account and log in.

cr4yfish commented 2 weeks ago

Oh yeah I know the issue.

function validatePassword(password: string) {
    return (password.length >= 8 && **password.length < 72**) ? true : undefined;
}

Give me a second, I'll fix it, thanks for testing it out!