Skip to content

Commit

Permalink
update skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmajor committed May 2, 2024
1 parent d85808d commit a31858e
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 10 deletions.
4 changes: 2 additions & 2 deletions app/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class Application extends BaseApplication
{
public const string SkeletonVersion = '10.2.5';
public const string SkeletonVersion = '10.3.3';

public const string BreezeVersion = '1.21.2';
public const string BreezeVersion = '1.29.1';
}
2 changes: 1 addition & 1 deletion app/Http/Requests/LoginRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ public function ensureIsNotRateLimited(): void

public function throttleKey(): string
{
return Str::transliterate(Str::lower($this->input('username')) . '|' . $this->ip());
return Str::transliterate(Str::lower($this->string('username')) . '|' . $this->ip());
}
}
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

'maintenance' => [
'driver' => 'file',
// 'store' => 'redis',
// 'store' => 'redis',
],

'providers' => ServiceProvider::defaultProviders()->merge([
Expand Down
4 changes: 3 additions & 1 deletion config/hashing.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
'driver' => 'bcrypt',

'bcrypt' => [
'rounds' => env('BCRYPT_ROUNDS', 10),
'rounds' => env('BCRYPT_ROUNDS', 12),
'verify' => true,
],

'argon' => [
'memory' => 1024,
'threads' => 2,
'time' => 2,
'verify' => true,
],

];
16 changes: 12 additions & 4 deletions config/mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,16 @@
'transport' => 'ses',
],

'mailgun' => [
'transport' => 'mailgun',
'postmark' => [
'transport' => 'postmark',
// 'message_stream_id' => null,
// 'client' => [
// 'timeout' => 5,
// ],
],

'postmark' => [
'transport' => 'postmark',
'mailgun' => [
'transport' => 'mailgun',
// 'client' => [
// 'timeout' => 5,
// ],
Expand All @@ -50,6 +51,13 @@
'mailers' => ['smtp', 'log'],
],

'roundrobin' => [
'transport' => 'roundrobin',
'mailers' => [
'ses',
'postmark',
],
],
],

'from' => [
Expand Down
2 changes: 2 additions & 0 deletions config/session.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,7 @@
'http_only' => true,

'same_site' => 'lax',

'partitioned' => false,

];
3 changes: 2 additions & 1 deletion database/factories/UserFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str;

/**
Expand All @@ -17,7 +18,7 @@ public function definition(): array
{
return [
'username' => $this->faker->unique()->userName(),
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
'password' => Hash::make('password'),
'remember_token' => Str::random(10),
];
}
Expand Down
1 change: 1 addition & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<env name="CACHE_DRIVER" value="array"/>
<env name="DB_CONNECTION" value="testing"/>
<env name="FILESYSTEM_CLOUD" value="testing"/>
<env name="PULSE_ENABLED" value="false"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="TELESCOPE_ENABLED" value="false"/>
Expand Down

0 comments on commit a31858e

Please sign in to comment.