I use the standard registration on laravel 5.5, with a template change to my own. in the controller RegisterController in the create method I wrote the following:
protected function create(array $data) { $user = User::create([ 'fio' => $data['fio'], 'email' => $data['email'], 'type' => $data['admin'], 'login' => $data['login'], 'password' => bcrypt($data['password']), 'access' => '2/1/1/1/1/1/1/1/1/1/1', 'created_at' => date('Ymd H:i:s'), 'updated_at' => date('Ymd H:i:s') ]); return $user; } but when you click on the confirm button, I am thrown on the same page and does not create a user in the database. As far as I understand, he doesn’t get into this method at all (he wrote out the dump($data) method, he didn’t react to it at all), the method contains the post method and action="{{ route('register')}}" . What am I doing wrong?