database seed and some basic frontend

This commit is contained in:
TimmensOne
2023-03-23 21:50:31 +01:00
parent ad30a02a52
commit 0d22d49119
8 changed files with 106 additions and 13 deletions

View File

@ -2,6 +2,7 @@
namespace Database\Factories;
use Faker\Core\Number;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
@ -18,11 +19,11 @@ class UserFactory extends Factory
public function definition(): array
{
return [
'name' => fake()->name(),
'email' => fake()->unique()->safeEmail(),
'email_verified_at' => now(),
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
'remember_token' => Str::random(10),
'rz_username' => 'admin',
'full_name' => 'Admin',
'organisation_unit' => 11111111,
'has_admin_privileges' => true,
'hashed_password' => 'vollgeheim', // password
];
}