[Vuejs]-Form request validation in laravel 6 and vue does not triggering anything

-1👍

You must define SignupRequest class on your controller for work defined rules. Example usage for signup function,

     public function signup(SignupRequest $request)
     {
        User::create($request->all()); // the problem is not bcrypting the password section
        // login the registered user
        return $this->login($request);
     }

Also you should define $token variable on login function.
Finally, you can find error details on under storage/logs/ folder files.

I hope this help you.

Leave a comment