mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-22 22:43:35 +08:00
fix init radius, double check password
This commit is contained in:
parent
533d46bbf5
commit
20fdb688ad
2 changed files with 6 additions and 1 deletions
3
init.php
3
init.php
|
@ -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');
|
||||
|
|
|
@ -592,5 +592,7 @@
|
|||
"Created_Date": "Created Date",
|
||||
"Inactive": "Inactive",
|
||||
"Suspended": "Suspended",
|
||||
"Query": "Query"
|
||||
"Query": "Query",
|
||||
"Notes": "Notes",
|
||||
"This_account_status": "This account status"
|
||||
}
|
Loading…
Reference in a new issue