mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-01 21:02:54 +09:00
Fix the password length field while adding a server (#2108)
This commit is contained in:
1 parent
21b4422921
commit
4d3926720f
1 file changed
+1
-1
@@ -703,7 +703,7 @@ class Service implements InjectionAwareInterface
|
||||
$model->password = $data['password'] ?? null;
|
||||
$model->accesshash = $data['accesshash'] ?? null;
|
||||
$model->port = $data['port'] ?? null;
|
||||
$model->passwordLength = $data['passwordLength'] ?? null;
|
||||
$model->passwordLength = is_numeric($data['passwordLength']) ? intval($data['passwordLength']) : null;
|
||||
$model->secure = $data['secure'] ?? 0;
|
||||
|
||||
$model->created_at = date('Y-m-d H:i:s');
|
||||
|
||||
Reference in new issue
Block a user