Skip to content

Conversation

@anurag-singh2001
Copy link

No description provided.

@zarkjunejo
Copy link

change navigate code to login .
if (json.success) {
//save token of user
localStorage.setItem('auth-token', json.authtoken)
navigate('/login');
props.showAlert("SuccessFully Created Account", "success")
} else {
props.showAlert("Invalid Creadentails", "danger")
}

this in SignUp.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants