Skip to content

Commit 48bfc55

Browse files
authored
Update DumbPasswordServiceProvider.php
1 parent 8bc3b46 commit 48bfc55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DumbPasswordServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class DumbPasswordServiceProvider extends ServiceProvider
2929
public function boot()
3030
{
3131
$path = realpath(__DIR__.'/../resources/config/passwordlist.txt');
32-
$dumbPasswords = collect(explode("\n", file_get_contents($path)));
32+
$data = collect(explode("\n", file_get_contents($path)));
3333

3434
Validator::extend('dumbpwd', function ($attribute, $value, $parameters, $validator) use ($data) {
3535
return !$data->contains($value);

0 commit comments

Comments
 (0)