Email OTP with Username plugin
I have setup username plugin alongside Email OTP plugin. All good but I have a doubt. How can the user while signing up with email otp have thier username setup automatically?
I did create a custom plugin to solve this issue. The plugin hooks after the email otp sign in and updates the username in db. Only problem is the session does not reflect the updated username. Is this the preferred way to set username automatically? or is there a better way to do this?
I did create a custom plugin to solve this issue. The plugin hooks after the email otp sign in and updates the username in db. Only problem is the session does not reflect the updated username. Is this the preferred way to set username automatically? or is there a better way to do this?
0 Replies