Customizing username field with Credential Password plugin #19
Answered
by
thecodearcher
Gustavo-DMS
asked this question in
Q&A
|
Reading through the docs I could not find a way to customize the "username" field name. Is there a way to do this that I am missing or it currently not supported? I have tried configuring using |
Answered by
thecodearcher
Jul 5, 2026
Replies: 1 comment 2 replies
|
@Gustavo-DMS Thanks for flagging this; it was actually a bug.
Also added a convenient wrapper so you can do this instead of using schema := limen.NewDefaultSchemaConfig(
credentialpassword.WithUsernameField("handle"),
) |
2 replies
Answer selected by
Gustavo-DMS
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Gustavo-DMS Thanks for flagging this; it was actually a bug.
WithPluginSchema(...)could remap username lookups, but sign-up could still try to writeusername, which caused the missing column error when using a custom column name. This is now fixed in 0.1.3Also added a convenient wrapper so you can do this instead of using
WithPluginSchemadirectly: