Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum password length is much shorter than anticipated #42

Open
turtureanu opened this issue Nov 2, 2024 · 0 comments
Open

Maximum password length is much shorter than anticipated #42

turtureanu opened this issue Nov 2, 2024 · 0 comments

Comments

@turtureanu
Copy link

After installing dokemon and navigating to http://localhost:9090 I was greeted with a screen that prompted me to create a user (web/src/app/auth/setup.tsx).

I use a password manager, and I don't like to remember passwords. The advantage of using a password manager is that I can generate really long passwords. The problem here is that I cannot use a long password such as this one: eTfDc0BHuD4K5JIbeRvAfB0Xykq2XMtk34ORygYybsA2yaKkuHdgcJznSiSNjTZkyKZXaUw8UKjvKOnN

The website just refreshed and it didn't seem to create the user. After creating a user with a much shorter password (10 chars), I tried changing the password, but I got the following error:
image

After trying to see, if the limit is configured somewhere, I came upon this snippet:

Password string `json:"password" validate:"min=8,max=255"`

This does not seem to be by design, so that's why I'm opening this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant