Skip to content
Discussion options

You must be logged in to vote

@Gustavo-DMS Thanks for flagging this; it was actually a bug.

WithPluginSchema(...) could remap username lookups, but sign-up could still try to write username, which caused the missing column error when using a custom column name. This is now fixed in 0.1.3

Also added a convenient wrapper so you can do this instead of using WithPluginSchema directly:

schema := limen.NewDefaultSchemaConfig(
    credentialpassword.WithUsernameField("handle"),
)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Gustavo-DMS
Comment options

@thecodearcher
Comment options

Answer selected by Gustavo-DMS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants