So basically what I’m trying to do is to check if the text the user has typed into the email field is an email, and if all the fields have text in it, because everything is required. Login view the routes Route::get('home', HomeController::class) There are 3 routes: login and home which are pages, and authenticate that’s redirecting to a controller which got all the functions related to the login. If it’s not correct, the user should not be redirected to the route (which has the name "authenticate"). To give you more context I’m creating a login form, I’m trying to prevent the user from authenticate himself if the text he typed on the input fields are corrects. I don’t have any errors, nor on client or server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |