diff --git a/src/VeryBasicAuthServiceProvider.php b/src/VeryBasicAuthServiceProvider.php index 314b52f..c772ddb 100644 --- a/src/VeryBasicAuthServiceProvider.php +++ b/src/VeryBasicAuthServiceProvider.php @@ -1,6 +1,7 @@ stub); - $data = str_replace('%password%', str_random(8), $data); + $data = str_replace('%password%', Str::random(8), $data); return file_put_contents($this->config, $data); } }