In my application I use a username/password combination rather then email/password.
I updated the sanctum.graphql login mutation to accept a username parameter instead of email, but it turns out the PHP controller always assumes an email.
It'd be great if this would either be configurable, or would accept both and select which one to use based on which is provided.
In my application I use a username/password combination rather then email/password.
I updated the sanctum.graphql
login
mutation to accept ausername
parameter instead ofemail
, but it turns out the PHP controller always assumes anemail
.It'd be great if this would either be configurable, or would accept both and select which one to use based on which is provided.