We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bc3b46 commit 48bfc55Copy full SHA for 48bfc55
src/DumbPasswordServiceProvider.php
@@ -29,7 +29,7 @@ class DumbPasswordServiceProvider extends ServiceProvider
29
public function boot()
30
{
31
$path = realpath(__DIR__.'/../resources/config/passwordlist.txt');
32
- $dumbPasswords = collect(explode("\n", file_get_contents($path)));
+ $data = collect(explode("\n", file_get_contents($path)));
33
34
Validator::extend('dumbpwd', function ($attribute, $value, $parameters, $validator) use ($data) {
35
return !$data->contains($value);
0 commit comments