mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
(usermanager) issue with defaults, closes https://github.com/opnsense/core/issues/612
This commit is contained in:
parent
ee9cd01ef6
commit
99206e99d3
@ -145,7 +145,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$pconfig['lifetime'] = 365;
|
||||
$pconfig['usernamefld'] = null;
|
||||
foreach ($fieldnames as $fieldname) {
|
||||
if (isset($pconfig[$fieldname])) {
|
||||
if (!isset($pconfig[$fieldname])) {
|
||||
$pconfig[$fieldname] = null;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user