You've already forked isop-mirror
pridanie atributov pouzivatelovi pre aktivaciu uctu
This commit is contained in:
@@ -36,6 +36,8 @@ class UserFactory extends Factory
|
||||
'email_verified_at' => now(),
|
||||
'password' => static::$password ??= Hash::make('password'),
|
||||
'remember_token' => Str::random(10),
|
||||
'active' => true,
|
||||
'needs_password_change' => false,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -17,6 +17,9 @@ return new class extends Migration
|
||||
$table->string('email')->unique();
|
||||
$table->timestamp('email_verified_at')->nullable();
|
||||
$table->string('password');
|
||||
$table->boolean('active')->default(false);
|
||||
$table->boolean('needs_password_change')->default(false);
|
||||
$table->string('activation_token')->nullable();
|
||||
$table->rememberToken();
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user