|
@@ -35,7 +35,7 @@ |
|
|
block discarded – undo |
|
35
|
35
|
*/ |
|
36
|
36
|
public function boot() |
|
37
|
37
|
{ |
|
38
|
|
- Validator::extend('dumbpwd', function ($attribute, $value, $parameters, $validator) { |
|
|
38
|
+ Validator::extend('dumbpwd', function ($attribute, $value, $parameters, $validator) { |
|
39
|
39
|
$path = realpath(__DIR__ . '/../resources/config/passwordlist.txt'); |
|
40
|
40
|
$cache_key = md5_file($path); |
|
41
|
41
|
$data = Cache::rememberForever('dumbpwd_list_' . $cache_key, function () use ($path) { |
Please login to merge, or discard this patch.