You wouldn't have a form field where the user enters the remember_token value...that's done automatically with the password_reset functionality with laravels built-in auth.
So, just add a remember_token field to the users table? The default migration creates one withvarchar(100) with a default of null
php artisan make:migration add_remember_token_to_users_table --table=users
Then edit the migration, and
public function up()
{
Schema::table('users', function (Blueprint $table) {
$table->string('remember_token', 100)->nullable();
});
}
public function down()
{
Schema::table('users', function (Blueprint $table) {
$table->dropColumn('remember_token');
});
}
and run the migrations php artisan migrate