Customizing username field with Credential Password plugin #19
-
|
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 |
Beta Was this translation helpful? Give feedback.
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"),
) |
Beta Was this translation helpful? Give feedback.
@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: