CodeNewbie Community

Mahima Khandelwal
Mahima Khandelwal

Posted on

Authentication system

Hey, I have been trying to build an authentication system where I have taken more fields other than, the username and password. I wish to register a user and then, redirect him to a page but what happens is that after successful registration, the page is shown in the network tab of the developer's console but not on the browser screen.

Discussion (2)

Collapse
raddevus profile image
raddevus

My guess is that you are sending the data but not posting to a page so the page does not change on the client. It may be as easy as posting the data from the form the user is on. But what stack are you using? Need to see the code to help.

Collapse
ioscasey profile image
Casey 💎

What stack are you using?

If you're using express, I'd recommend passport.js.