Revision c6aca57d
Added by Joash Lewis over 8 years ago
src/usr/local/www/system_usermanager_settings.php | ||
---|---|---|
152 | 152 |
unset($config['system']['webgui']['auth_refresh_time']); |
153 | 153 |
} |
154 | 154 |
|
155 |
if (isset($_POST['auth_refresh_time']) && $_POST['auth_refresh_time'] != "") { |
|
156 |
$config['system']['webgui']['auth_refresh_time'] = intval($_POST['auth_refresh_time']); |
|
157 |
} else { |
|
158 |
unset($config['system']['webgui']['auth_refresh_time']); |
|
159 |
} |
|
160 |
|
|
161 | 155 |
write_config(); |
162 | 156 |
|
163 | 157 |
} |
Also available in: Unified diff
Remove duplicated if block