loading...

re: 4 practices for better code VIEW POST

FULL DISCUSSION
 

This can be improved. On the end part use dependency injection for login which integrates into submitHandler. And the error block you can move within promise catch.

code of conduct - report abuse