cross-posted from: https://lemmy.ca/post/107103

May have just found out why I’ve historically had issues logging into my Lemmy accounts.

I was able to create my account fine using a password 65-ish characters in length using letters, numbers and special characters. Then immediately I couldn’t login! I use a passwords vault to create/save my accounts fully before I enter my details into the site so the details are correct.

Upon resetting my password and trying a new one with the same parameters I was advised my password was too long (60 max I think it said?). I moved it to 58 characters and also removed special characters then I was able to login fine.

This may have been going on for sometime and across other instances because I was having lots of issues making lemmy accounts before on lemmy.ml.

Anyone else run into this?

Dessalines
mod
link
fedilink
22Y

We check the password length when creating new accounts:

https://github.com/LemmyNet/lemmy/blob/cb44b1471705de503e609fbd835fca2a77cce2db/crates/api_crud/src/user/create.rs#L71

And when updating the password:

https://github.com/LemmyNet/lemmy/blob/cb44b1471705de503e609fbd835fca2a77cce2db/crates/api_crud/src/user/create.rs#L71

So I’m not sure how you are able to do this, I’m guessing it was before we added those checks.

Tryp
creator
link
fedilink
12Y

I’ll do some more testing and get back ya on this maybe I’m jumping the gun.

my posts is also confusing because I crossposted it, this happened on lemmy.ca but I believe it’s happened elsewhere just not confirmed.

When were those added?

Dessalines
mod
link
fedilink
12Y

Few months ago I think.

mekhos
link
fedilink
22Y

65-ish characters in length using letters, numbers and special characters

You monster!

Tryp
creator
link
fedilink
22Y

You watch your mouth or I’ll start putting spaces in all my passwords! Lazy admins of the world will fear me!

comfy
link
fedilink
22Y

you mean you don’t have a keyboard with a macro key that types the first three lines of your tenth favorite song to begin all your passwords? enjoy getting h4ck3d!1

Support / questions about Lemmy.

  • 0 users online
  • 12 users / day
  • 24 users / week
  • 26 users / month
  • 19 users / 6 months
  • 11 subscribers
  • 140 Posts
  • 444 Comments
  • Modlog