Migrate from next auth to better auth
Hello everyone, please I need help. currently I am working on a project. That’s not deployed yet and I am using next auth, but in next auth i can control the login function. So now I don’t know how can I control the login function in better auth, i want to implement my own login logic because in my case i dont have a registration method, only login via LDAP or Active Directory,
So please if you know how to overwrite the login function share the code with me. Thanks
So please if you know how to overwrite the login function share the code with me. Thanks