payload
payload copied to clipboard
chore: better default for useAsTitle with custom auth collections
What?
Custom auth collections default useAsTitle
to id
.
Why?
It is more expected for auth collections to search on email or username.
How?
Defaults useAsTitle to username
if loginWithUsername is used, else email
. Can still be overridden by setting a custom admin.useAsTitle
property.