custom login page does not work

i made a custom page for sign in and it does not give any error but it does not work either. can someone check my code to see what is wrong?
No description
No description
No description
1 Reply
şiar_619
şiar_619OP2w ago
apparently i should have need the tag the login page as “use server” because i use serverside stuff. but to use useState you need to tag the file as “use client”. i removed everything about useState.

Did you find this page helpful?