fix init radius, double check password

This commit is contained in:
Ibnu Maksum 2024-05-21 09:03:22 +07:00
parent 533d46bbf5
commit 20fdb688ad
No known key found for this signature in database
GPG key ID: 7FC82848810579E5
2 changed files with 6 additions and 1 deletions

View file

@ -110,6 +110,9 @@ if (empty($http_proxy) && !empty($config['http_proxy'])) {
date_default_timezone_set($config['timezone']);
if ((!empty($radius_user) && $config['radius_enable']) || _post('radius_enable')) {
if(!empty($radius_password)){
$radius_pass = $radius_password;
}
ORM::configure("mysql:host=$radius_host;dbname=$radius_name", null, 'radius');
ORM::configure('username', $radius_user, 'radius');
ORM::configure('password', $radius_pass, 'radius');

View file

@ -592,5 +592,7 @@
"Created_Date": "Created Date",
"Inactive": "Inactive",
"Suspended": "Suspended",
"Query": "Query"
"Query": "Query",
"Notes": "Notes",
"This_account_status": "This account status"
}