how to extract the code that subverts the register function so as to allow the user during registration to be assigned a custom role created by the admin (what are the steps to do)
This topic has been created from a Discord post (1247543944368099328) to give it more visibility.
It will be on Read-Only mode here. Join the conversation on Discord
actually, I just had a case for doing this myself and it was not easy to add a middleware to the register function.
There is still a way to do this using a lyfecycle hook.
Take a look at this post:
<@789522672098607115> thanks a lot, can I ask you another info? I would like to implement a chat-bot that is connected via ChatGpt API (OpenAI) but I am seeing that it is not free, could you recommend me some free solution? thank you.