Fix LDAP user registration #229
No reviewers
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#229
Loading…
Reference in a new issue
No description provided.
Delete branch "nullobsi/akkoma:fix-ldap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Simple fix for LDAP user registration. I'm not sure what changed but I managed to get Akkoma running in a debug session and figured out it was missing a match for an extra value at the end. I don't know Elixir all that well so I'm not sure if this was the correct way to do it... but it works. :)
ah right, this apparently was a breaking change in erlang OTP 24.3
your fix is correct, thanks!
but unfortunately there is a test that needs updating - https://akkoma.dev/AkkomaGang/akkoma/src/branch/develop/test/pleroma/web/o_auth/ldap_authorization_test.exs#L74
you should just be able to change it to
to make it pass
given by the lack of reply here i'll guess you didn't see this, i'll apply the patch before fixing the test
thanks~