Skip to content

Commit

Permalink
Creates one gatekeeper, needs attribute randomization and proper tool…
Browse files Browse the repository at this point in the history
… names
  • Loading branch information
everett-ripley committed Nov 14, 2024
1 parent 44230f8 commit df159c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions database/factories/GatekeeperFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ public function definition(): array
return[
"name" => $name,
"status" => "enabled",
"tool_id" => $toolIdIncrement,
"id" => self::$toolIdIncrement,
"type" => "lockout",
"is_default" => 0,
"ip_address" => NULL,
"auth_key" => generate_auth_key(),
"auth_key" => $this->generate_auth_key(),
"shared_auth" => 0,
"auth_expires" => 0,
"auth_expiry_type" => "revoke",
Expand Down
2 changes: 1 addition & 1 deletion database/seeders/GatekeepersTableSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use App\Models\Gatekeeper;
use Illuminate\Database\Seeder;

class GatekeeperTableSeeder extends Seeder
class GatekeepersTableSeeder extends Seeder
{
public function run()
{
Expand Down

0 comments on commit df159c9

Please sign in to comment.