Custom Auth
Hello, I'm trying to get custom auth working but I don't know how to put the user inside the session after the login form submisison.
I created a custom live form with a phx-sumbit event called "save" the method looks like this:
I was trying to put the logged user inside the socket but I think I'm missing something.
I created a custom live form with a phx-sumbit event called "save" the method looks like this:
I was trying to put the logged user inside the socket but I think I'm missing something.
