[Not sure if bug] Admin plugin does not use the Infering Types
As title says
Using the create user
Does not adhere to any custom fields made in auth.ts
I've added
The only fields it seems to take into consideration is the pre-defined fields that are found in the docs
eg:
All fields are undefined, but they are parsed to the function correctly.
5 Replies
Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View
Interesting. I assume this is for the username plugin.
Should be added to docs!:-)
Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View
That solves alot of issues for me - In using the same endpoint as sign up for normal users in my admin area to work around this - so your findings fix that.
Because i auto sign in users after creation, an admin would be signed in as the newly created user🤯
Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View