@@ -6,4 +6,6 @@ |
||
6 | 6 | /** |
7 | 7 | * Don't delete |
8 | 8 | */ |
9 | -class mgrResources extends EvolutionCMS\Legacy\mgrResources{} |
|
9 | +class mgrResources extends EvolutionCMS\Legacy\mgrResources |
|
10 | +{ |
|
11 | +} |
@@ -1,3 +1,5 @@ |
||
1 | 1 | <?php namespace EvolutionCMS\Interfaces; |
2 | 2 | |
3 | -interface ManagerThemeInterface{} |
|
3 | +interface ManagerThemeInterface |
|
4 | +{ |
|
5 | +} |
@@ -403,10 +403,12 @@ |
||
403 | 403 | $failedlogins += 1; |
404 | 404 | |
405 | 405 | $fields = array('failedlogincount' => $failedlogins); |
406 | - if ($failedlogins >= $failed_allowed) //block user for too many fail attempts |
|
406 | + if ($failedlogins >= $failed_allowed) { |
|
407 | + //block user for too many fail attempts |
|
407 | 408 | { |
408 | 409 | $fields['blockeduntil'] = time() + ($blocked_minutes * 60); |
409 | 410 | } |
411 | + } |
|
410 | 412 | |
411 | 413 | $modx->db->update($fields, '[+prefix+]user_attributes', "internalKey='{$internalKey}'"); |
412 | 414 |