Angular-5---Role-Based-Authorization-with-Web-API
Angular-5---Role-Based-Authorization-with-Web-API copied to clipboard
Angular 9 onSubmit Function
The onsubmit function in the user signup works fine unless adding an already existing account. Prior to implementing the role submission, it would return the error of user already taken - now it just returns an error of 500 and doesn't trigger the else statement from the subscribed observable. Any ideas?