LoginSignup
0
0

More than 5 years have passed since last update.

laravelでemailの登録を取り除く

Posted at

①2014_10_12_000000_create_users_table.phpの「$table->string('email')->unique();」「$table->timestamp('email_verified_at')->nullable();」を消す

②「php artisan migrate:fresh」からの「php artisan migrate:refresh」

③register.blade.phpのemail入力欄を消す

④RegisterController.phpの「protected function validator(array $data)」と「protected function create(array $data)」のところのemailのところを消す

⑤登録画面に行ってnameとPasswordだけで登録してみる..

⑥できた!!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0