Revision 3ccb9689
Added by Charlie Marshall almost 12 years ago
usr/local/www/system_usermanager.php | ||
---|---|---|
35 | 35 |
POSSIBILITY OF SUCH DAMAGE. |
36 | 36 |
*/ |
37 | 37 |
/* |
38 |
pfSense_BUILDER_BINARIES:
|
|
38 |
pfSense_BUILDER_BINARIES: |
|
39 | 39 |
pfSense_MODULE: auth |
40 | 40 |
*/ |
41 | 41 |
|
... | ... | |
57 | 57 |
if (isset($_POST['id'])) |
58 | 58 |
$id = $_POST['id']; |
59 | 59 |
|
60 |
if (!is_array($config['system']['user']))
|
|
60 |
if (!is_array($config['system']['user'])) |
|
61 | 61 |
$config['system']['user'] = array(); |
62 | 62 |
|
63 | 63 |
$a_user = &$config['system']['user']; |
... | ... | |
282 | 282 |
$userent['expires'] = $_POST['expires']; |
283 | 283 |
$userent['authorizedkeys'] = base64_encode($_POST['authorizedkeys']); |
284 | 284 |
$userent['ipsecpsk'] = $_POST['ipsecpsk']; |
285 |
|
|
285 |
|
|
286 | 286 |
if($_POST['disabled']) |
287 | 287 |
$userent['disabled'] = true; |
288 |
else
|
|
288 |
else |
|
289 | 289 |
unset($userent['disabled']); |
290 | 290 |
|
291 | 291 |
if (isset($id) && $a_user[$id]) |
... | ... | |
338 | 338 |
run_plugins("/etc/inc/privhooks"); |
339 | 339 |
|
340 | 340 |
conf_mount_ro(); |
341 |
|
|
341 |
|
|
342 | 342 |
pfSenseHeader("system_usermanager.php"); |
343 | 343 |
} |
344 | 344 |
} |
... | ... | |
578 | 578 |
<td class="list"></td> |
579 | 579 |
</tr> |
580 | 580 |
<?php |
581 |
|
|
581 |
|
|
582 | 582 |
$privdesc = get_user_privdesc($a_user[$id]); |
583 | 583 |
if(is_array($privdesc)): |
584 | 584 |
$i = 0; |
... | ... | |
631 | 631 |
<td class="list"></td> |
632 | 632 |
</tr> |
633 | 633 |
<?php |
634 |
|
|
634 |
|
|
635 | 635 |
$a_cert = $a_user[$id]['cert']; |
636 | 636 |
if(is_array($a_cert)): |
637 | 637 |
$i = 0; |
Also available in: Unified diff
remove whitespaces