Creating Rent-a-Car App with Vue and October Episode 21

Login Errors

In this episode I'm going to show you how to handle login errors in our OctoberCMS, Vue and Vuex application.

Now that we got JWT working I can show you how to handle errors that you will get from your login and registration forms. This can seem as pretty straight forward at first glance, but it’s actually just a bit more complicated, because we will not get those errors in the format that is easy to display on the frontend.

So we need to take in account all possible cases and then format them to be easily handled by the frontend.

Wanna ask a question about video?

Like This Video?

Support it by sharing it ;)

© Watch And Learn,2024