From 894c8522ee0f889df8c6de7f517dc23966dd89b1 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 24 Oct 2023 21:30:55 +0800 Subject: [PATCH] wip Signed-off-by: Mior Muhammad Zaki --- bin/sync | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/sync b/bin/sync index 8ef0bdc86..3a31f0f99 100755 --- a/bin/sync +++ b/bin/sync @@ -66,6 +66,10 @@ transform([ "env('CACHE_DRIVER', 'file')" => "env('CACHE_DRIVER', 'array')", ], fn ($changes) => $files->replaceInFile(array_keys($changes), array_values($changes), "{$workingPath}/laravel/config/cache.php")); +transform([ + "env('BCRYPT_ROUNDS', 12)," => "env('BCRYPT_ROUNDS', 10),", +], fn ($changes) => $files->replaceInFile(array_keys($changes), array_values($changes), "{$workingPath}/laravel/config/hashing.php")); + transform([ "env('SESSION_DRIVER', 'file')" => "env('SESSION_DRIVER', 'array')", ], fn ($changes) => $files->replaceInFile(array_keys($changes), array_values($changes), "{$workingPath}/laravel/config/session.php")); @@ -93,6 +97,7 @@ transform([ } } ', + '$2y$12$Z/vhVO3e.UXKaG11EWgxc.EL7uej3Pi1M0Pq0orF5cbFGtyVh0V3C' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', ], fn ($changes) => $files->replaceInFile(array_keys($changes), array_values($changes), "{$workingPath}/src/Factories/UserFactory.php")); Illuminate\Support\Collection::make([